interface ActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnLifecyclePolicyPropsMixin.ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnLifecyclePolicyPropsMixin_ActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.ActionProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.ActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnLifecyclePolicyPropsMixin » ActionProperty |
Contains selection criteria for the lifecycle policy.
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 actionProperty: imagebuilder_mixins.CfnLifecyclePolicyPropsMixin.ActionProperty = {
includeResources: {
amis: false,
containers: false,
snapshots: false,
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| include | IResolvable | Include | Specifies the resources that the lifecycle policy applies to. |
| type? | string | Specifies the lifecycle action to take. |
includeResources?
Type:
IResolvable | Include
(optional)
Specifies the resources that the lifecycle policy applies to.
type?
Type:
string
(optional)
Specifies the lifecycle action to take.

.NET
Go
Java
Python
TypeScript