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