Skip to content
v2.274.0

IncludeResourcesProperty Struct ​

Specifies how the lifecycle policy should apply actions to selected resources.

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 includeResourcesProperty: imagebuilder.CfnLifecyclePolicy.IncludeResourcesProperty = {
  amis: false,
  containers: false,
  snapshots: false,
};

Properties ​

amisoptionalboolean | IResolvableamisoptionaltyping.Union[bool, IResolvable]amisoptionalBooleanAmisoptionalboolAmisoptionalinterface{}#
Specifies whether the lifecycle action should apply to distributed AMIs.
containersoptionalboolean | IResolvablecontainersoptionaltyping.Union[bool, IResolvable]containersoptionalBooleanContainersoptionalboolContainersoptionalinterface{}#
Specifies whether the lifecycle action should apply to distributed containers.
snapshotsoptionalboolean | IResolvablesnapshotsoptionaltyping.Union[bool, IResolvable]snapshotsoptionalBooleanSnapshotsoptionalboolSnapshotsoptionalinterface{}#
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.