interface ImageScanningConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnImagePipelinePropsMixin.ImageScanningConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnImagePipelinePropsMixin_ImageScanningConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnImagePipelinePropsMixin.ImageScanningConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnImagePipelinePropsMixin.ImageScanningConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnImagePipelinePropsMixin » ImageScanningConfigurationProperty |
Contains settings for Image Builder image resource and container image scans.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as imagebuilder_mixins } from '@aws-cdk/mixins-preview/aws-imagebuilder';
const imageScanningConfigurationProperty: imagebuilder_mixins.CfnImagePipelinePropsMixin.ImageScanningConfigurationProperty = {
ecrConfiguration: {
containerTags: ['containerTags'],
repositoryName: 'repositoryName',
},
imageScanningEnabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| ecr | IResolvable | Ecr | Contains Amazon ECR settings for vulnerability scans. |
| image | boolean | IResolvable | A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image. |
ecrConfiguration?
Type:
IResolvable | Ecr
(optional)
Contains Amazon ECR settings for vulnerability scans.
imageScanningEnabled?
Type:
boolean | IResolvable
(optional)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.

.NET
Go
Java
Python
TypeScript