interface AmiExclusionRulesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnLifecyclePolicyPropsMixin.AmiExclusionRulesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnLifecyclePolicyPropsMixin_AmiExclusionRulesProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.AmiExclusionRulesProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.AmiExclusionRulesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnLifecyclePolicyPropsMixin » AmiExclusionRulesProperty |
Defines criteria for AMIs that are excluded from lifecycle actions.
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 amiExclusionRulesProperty: imagebuilder_mixins.CfnLifecyclePolicyPropsMixin.AmiExclusionRulesProperty = {
isPublic: false,
lastLaunched: {
unit: 'unit',
value: 123,
},
regions: ['regions'],
sharedAccounts: ['sharedAccounts'],
tagMap: {
tagMapKey: 'tagMap',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| is | boolean | IResolvable | Configures whether public AMIs are excluded from the lifecycle action. |
| last | IResolvable | Last | Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions. |
| regions? | string[] | Configures AWS Region s that are excluded from the lifecycle action. |
| shared | string[] | Specifies AWS account s whose resources are excluded from the lifecycle action. |
| tag | { [string]: string } | IResolvable | Lists tags that should be excluded from lifecycle actions for the AMIs that have them. |
isPublic?
Type:
boolean | IResolvable
(optional)
Configures whether public AMIs are excluded from the lifecycle action.
lastLaunched?
Type:
IResolvable | Last
(optional)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
regions?
Type:
string[]
(optional)
Configures AWS Region s that are excluded from the lifecycle action.
sharedAccounts?
Type:
string[]
(optional)
Specifies AWS account s whose resources are excluded from the lifecycle action.
tagMap?
Type:
{ [string]: string } | IResolvable
(optional)
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.

.NET
Go
Java
Python
TypeScript