interface ActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ImageBuilder.CfnLifecyclePolicy.ActionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnLifecyclePolicy_ActionProperty |
![]() | software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy.ActionProperty |
![]() | aws_cdk.aws_imagebuilder.CfnLifecyclePolicy.ActionProperty |
![]() | aws-cdk-lib » aws_imagebuilder » CfnLifecyclePolicy » 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-lib';
const actionProperty: imagebuilder.CfnLifecyclePolicy.ActionProperty = {
type: 'type',
// the properties below are optional
includeResources: {
amis: false,
containers: false,
snapshots: false,
},
};
Properties
Name | Type | Description |
---|---|---|
type | string | Specifies the lifecycle action to take. |
include | IResolvable | Include | Specifies the resources that the lifecycle policy applies to. |
type
Type:
string
Specifies the lifecycle action to take.
includeResources?
Type:
IResolvable
|
Include
(optional)
Specifies the resources that the lifecycle policy applies to.