Skip to content

Commit

Permalink
chore(lambda): remove unnecessary lints (#32277)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

N/A

### Reason for this change

Remove unnecessary linter rules.

### Description of changes

Remove these added in
https://github.com/aws/aws-cdk/pull/32205/files#diff-f66e69e18f9e11ae10f52dbe34309dcdf47cb8e3da6d54befbb45beaaf083b35R408-R419

### Description of how you validated changes

N/A

### Checklist
- [ ] My code adheres to the [CONTRIBUTING
GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and
[DESIGN
GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license*
  • Loading branch information
GavinZZ authored Nov 25, 2024
1 parent 6877c6a commit 6b85a18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/aws-lambda-event-sources/lib/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ export interface BaseStreamEventSourceProps{
readonly provisionedPollerConfig?: ProvisionedPollerConfig;
}

/**
* (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.
*/
export interface ProvisionedPollerConfig {
/**
* The minimum number of pollers that should be provisioned.
Expand Down
3 changes: 3 additions & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/event-source-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ export interface SourceAccessConfiguration {
readonly uri: string;
}

/**
* (Amazon MSK and self-managed Apache Kafka only) The provisioned mode configuration for the event source.
*/
export interface ProvisionedPollerConfig {
/**
* The minimum number of pollers that should be provisioned.
Expand Down
12 changes: 0 additions & 12 deletions packages/aws-cdk-lib/awslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,18 +405,6 @@
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.S3EventSource.bucket",
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.SnsEventSource.topic",
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.SqsEventSource.queue",
"docs-public-apis:aws-cdk-lib.aws_lambda.EventSourceMappingOptions.provisionedPollerConfig",
"props-default-doc:aws-cdk-lib.aws_lambda.EventSourceMappingOptions.provisionedPollerConfig",
"docs-public-apis:aws-cdk-lib.aws_lambda.ProvisionedPollerConfig",
"docs-public-apis:aws-cdk-lib.aws_lambda.ProvisionedPollerConfig.maximumPollers",
"docs-public-apis:aws-cdk-lib.aws_lambda.ProvisionedPollerConfig.minimumPollers",
"props-default-doc:aws-cdk-lib.aws_lambda.ProvisionedPollerConfig.maximumPollers",
"props-default-doc:aws-cdk-lib.aws_lambda.ProvisionedPollerConfig.minimumPollers",
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.KafkaEventSourceProps.provisionedPollerConfig",
"props-default-doc:aws-cdk-lib.aws_lambda_event_sources.KafkaEventSourceProps.provisionedPollerConfig",
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.ProvisionedPollerConfig",
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.ProvisionedPollerConfig.maximumPollers",
"docs-public-apis:aws-cdk-lib.aws_lambda_event_sources.ProvisionedPollerConfig.minimumPollers",
"docs-public-apis:aws-cdk-lib.aws_logs.CrossAccountDestination.addToPolicy",
"docs-public-apis:aws-cdk-lib.aws_logs.DataIdentifier.*",
"docs-public-apis:aws-cdk-lib.aws_logs.JsonPattern.jsonPatternString",
Expand Down

0 comments on commit 6b85a18

Please sign in to comment.