interface ActionProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.ImageBuilder.CfnLifecyclePolicy.ActionProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsimagebuilder#CfnLifecyclePolicy_ActionProperty | 
|  Java | software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy.ActionProperty | 
|  Python | aws_cdk.aws_imagebuilder.CfnLifecyclePolicy.ActionProperty | 
|  TypeScript | 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.
