-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(appconfig): turn on awslint and fix linter errors (#27893)
Most issues center around doc strings. I know nothing about appconfig, but I feel like there's massive value added to this module by providing even the cloudformation docs within cdk, so that they are accessible within the IDE. Some other linter rules I've added as exceptions, because I don't have the capacity to audit them, but they should be audited. Issue to track that work: #27894. Labeled as a fix because technically, some public facing code has changed and also I want to make sure this ends up on the changelog. BREAKING CHANGE: `Environment.fromEnvironmentAttributes` function signature changed; property called `attr` is now `attrs`. This should affect only Python users. - **appconfig**: `Extension.fromExtensionAttributes` function signature changed; property called `attr` is now `attrs`. This should affect only Python users. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
7 changed files
with
255 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,38 @@ | ||
{ | ||
"exclude": [ | ||
"*:*" | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ConfigurationSourceType.S3", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ConfigurationSourceType.SSM_DOCUMENT", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ConfigurationSourceType.SSM_PARAMETER", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ConfigurationSourceType.SECRETS_MANAGER", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ConfigurationSourceType.CODE_PIPELINE", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.SourceType.LAMBDA", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.SourceType.SQS", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.SourceType.SNS", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.SourceType.EVENTS", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.Platform.ARM_64", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.Platform.X86_64", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.PRE_CREATE_HOSTED_CONFIGURATION_VERSION", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.PRE_START_DEPLOYMENT", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.ON_DEPLOYMENT_START", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.ON_DEPLOYMENT_STEP", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.ON_DEPLOYMENT_BAKING", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.ON_DEPLOYMENT_COMPLETE", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.ActionPoint.ON_DEPLOYMENT_ROLLED_BACK", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IValidator", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IExtension", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IEnvironment", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IDeploymentStrategy", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IConfiguration", | ||
"docs-public-apis:@aws-cdk/aws-appconfig-alpha.IApplication", | ||
|
||
"no-unused-type:@aws-cdk/aws-appconfig-alpha.PredefinedDeploymentStrategyId", | ||
"ref-via-interface:@aws-cdk/aws-appconfig-alpha.Application.addAgentToEcs.taskDef", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.ApplicationProps", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.DeploymentStrategyProps", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.EnvironmentProps", | ||
"props-physical-name:@aws-cdk/aws-appconfig-alpha.ExtensionProps", | ||
"events-in-interface", | ||
"events-method-signature", | ||
"events-generic" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.