Interface CfnLifecyclePolicy.IActionProperty
Contains selection criteria for the lifecycle policy.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IActionProperty
Syntax (vb)
Public Interface IActionProperty
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 actionProperty = new ActionProperty {
Type = "type",
// the properties below are optional
IncludeResources = new IncludeResourcesProperty {
Amis = false,
Containers = false,
Snapshots = false
}
};
Synopsis
Properties
Include |
Specifies the resources that the lifecycle policy applies to. |
Type | Specifies the lifecycle action to take. |
Properties
IncludeResources
Specifies the resources that the lifecycle policy applies to.
virtual object IncludeResources { get; }
Property Value
System.
Remarks
Type
Specifies the lifecycle action to take.
string Type { get; }
Property Value
System.