interface IncludeResourcesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnLifecyclePolicyPropsMixin_IncludeResourcesProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnLifecyclePolicyPropsMixin » IncludeResourcesProperty |
Specifies how the lifecycle policy should apply actions to selected resources.
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 includeResourcesProperty: imagebuilder_mixins.CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty = {
amis: false,
containers: false,
snapshots: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| amis? | boolean | IResolvable | Specifies whether the lifecycle action should apply to distributed AMIs. |
| containers? | boolean | IResolvable | Specifies whether the lifecycle action should apply to distributed containers. |
| snapshots? | boolean | IResolvable | Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs. |
amis?
Type:
boolean | IResolvable
(optional)
Specifies whether the lifecycle action should apply to distributed AMIs.
containers?
Type:
boolean | IResolvable
(optional)
Specifies whether the lifecycle action should apply to distributed containers.
snapshots?
Type:
boolean | IResolvable
(optional)
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.

.NET
Go
Java
Python
TypeScript