Class CfnLifecyclePolicy.IncludeResourcesProperty
Specifies how the lifecycle policy should apply actions to selected resources.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLifecyclePolicy.IncludeResourcesProperty : CfnLifecyclePolicy.IIncludeResourcesProperty
Syntax (vb)
Public Class CfnLifecyclePolicy.IncludeResourcesProperty Implements CfnLifecyclePolicy.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.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.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; }