Class CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty
Specifies how the lifecycle policy should apply actions to selected resources.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty : CfnLifecyclePolicyPropsMixin.IIncludeResourcesProperty
Syntax (vb)
Public Class CfnLifecyclePolicyPropsMixin.IncludeResourcesProperty Implements CfnLifecyclePolicyPropsMixin.IIncludeResourcesProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder;
var includeResourcesProperty = new IncludeResourcesProperty {
Amis = false,
Containers = false,
Snapshots = false
};
Synopsis
Constructors
| IncludeResourcesProperty() | Specifies how the lifecycle policy should apply actions to selected resources. |
Properties
| Amis | Specifies whether the lifecycle action should apply to distributed AMIs. |
| Containers | Specifies whether the lifecycle action should apply to distributed containers. |
| Snapshots | Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs. |
Constructors
IncludeResourcesProperty()
Specifies how the lifecycle policy should apply actions to selected resources.
public IncludeResourcesProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder;
var includeResourcesProperty = new IncludeResourcesProperty {
Amis = false,
Containers = false,
Snapshots = false
};
Properties
Amis
Specifies whether the lifecycle action should apply to distributed AMIs.
public object? Amis { get; set; }
Property Value
Remarks
Containers
Specifies whether the lifecycle action should apply to distributed containers.
public object? Containers { get; set; }
Property Value
Remarks
Snapshots
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
public object? Snapshots { get; set; }