interface ExclusionRulesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnLifecyclePolicyPropsMixin_ExclusionRulesProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnLifecyclePolicyPropsMixin » ExclusionRulesProperty |
Specifies resources that lifecycle policy actions should not apply to.
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 exclusionRulesProperty: imagebuilder_mixins.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty = {
amis: {
isPublic: false,
lastLaunched: {
unit: 'unit',
value: 123,
},
regions: ['regions'],
sharedAccounts: ['sharedAccounts'],
tagMap: {
tagMapKey: 'tagMap',
},
},
tagMap: {
tagMapKey: 'tagMap',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| amis? | IResolvable | Ami | Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action. |
| tag | { [string]: string } | IResolvable | Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them. |
amis?
Type:
IResolvable | Ami
(optional)
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
tagMap?
Type:
{ [string]: string } | IResolvable
(optional)
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.

.NET
Go
Java
Python
TypeScript