An Amazon Inspector assessment template. 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
import { AssessmentTemplate } from 'aws-cdk-lib/aws-inspector';Or use the module namespace:
import * as inspector from 'aws-cdk-lib/aws-inspector';
// inspector.AssessmentTemplateConfiguration passed to the constructor as ResourceProps.
accountOptionalstringThe AWS account ID this resource belongs to.
Default: - the resource is in the same account as the stack it belongs to
environmentFromArnOptionalstringARN to deduce region and account from. The ARN is parsed and the account and region are taken from the ARN. This should be used for imported resources. Cannot be supplied together with either `account` or `region`.
Default: - take environment from `account`, `region` parameters, or use Stack environment.
physicalNameOptionalstringThe value passed in by users to the physical name prop of the resource. - `undefined` implies that a physical name will be allocated by CloudFormation during deployment. - a concrete value implies a specific physical name - `PhysicalName.GENERATE_IF_NEEDED` is a marker that indicates that a physical will only be generated by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation.
Default: - The physical name will be allocated by CloudFormation at deployment time
regionOptionalstringThe AWS region this resource belongs to.
Default: - the resource is in the same region as the stack it belongs to
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-inspector