ActionProperty Struct
Contains selection criteria for the lifecycle policy.
Example
ts
// 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
includeResourcesoptionalIResolvable | CfnLifecyclePolicy.IncludeResourcesPropertyinclude_resourcesoptionaltyping.Union[IResolvable, IncludeResourcesProperty]includeResourcesoptionalIResolvableIncludeResourcesoptionalIResolvableIncludeResourcesoptionalinterface{}#Specifies the resources that the lifecycle policy applies to.
Specifies the lifecycle action to take.