interface ExclusionRulesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsimagebuilder#CfnLifecyclePolicyPropsMixin_ExclusionRulesProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty |
Python | aws_cdk.cfn_property_mixins.aws_imagebuilder.CfnLifecyclePolicyPropsMixin.ExclusionRulesProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_imagebuilder » 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 { aws_imagebuilder as imagebuilder } from '@aws-cdk/cfn-property-mixins';
const exclusionRulesProperty: imagebuilder.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