Skip to content

Commit

Permalink
fix awslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gracelu0 committed Mar 1, 2025
1 parent b960280 commit 63b7471
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion packages/aws-cdk-lib/aws-inspector/lib/assessment-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ export interface IAssessmentTemplate extends IResource {
readonly assessmentTemplateArn: string;
}

/**
* Properties for creating an Inspector Assessment Template
* TODO: Add properties and remove "props-physical-name:aws-cdk-lib.aws_inspector.AssessmentTemplateProps" from `awslint.json`
* when implementing the L2 construct
*/
export interface AssessmentTemplateProps { }

/**
* An Amazon Inspector assessment template.
* TODO: This class should implement IAssessmentTemplate when writing the L2 construct
* TODO: This class should implement IAssessmentTemplate and "construct-ctor-props-type:aws-cdk-lib.aws_inspector.AssessmentTemplate" should be
* removed from `awslint.json` when implementing the L2 construct
*/
export class AssessmentTemplate extends Resource {
/**
Expand Down
4 changes: 3 additions & 1 deletion packages/aws-cdk-lib/awslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,8 @@
"events-generic:aws-cdk-lib.aws_appconfig.Application",
"events-generic:aws-cdk-lib.aws_appconfig.Environment",
"events-generic:aws-cdk-lib.aws_appconfig.HostedConfiguration",
"events-generic:aws-cdk-lib.aws_appconfig.SourcedConfiguration"
"events-generic:aws-cdk-lib.aws_appconfig.SourcedConfiguration",
"construct-ctor-props-type:aws-cdk-lib.aws_inspector.AssessmentTemplate",
"props-physical-name:aws-cdk-lib.aws_inspector.AssessmentTemplateProps"
]
}

0 comments on commit 63b7471

Please sign in to comment.