# ImageScanningConfigurationProperty

Contains settings for Image Builder image resource and container image scans.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const imageScanningConfigurationProperty: imagebuilder.CfnImage.ImageScanningConfigurationProperty = {
  ecrConfiguration: {
    containerTags: ['containerTags'],
    repositoryName: 'repositoryName',
  },
  imageScanningEnabled: false,
};
```

## Properties

- `ecrConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnImage.EcrConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_imagebuilder.CfnImage.EcrConfigurationProperty.html) — Contains Amazon ECR settings for vulnerability scans.

- `imageScanningEnabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — 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.
