Interface CfnLifecyclePolicy.ILastLaunchedProperty
Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILastLaunchedProperty
Syntax (vb)
Public Interface ILastLaunchedProperty
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 lastLaunchedProperty = new LastLaunchedProperty {
Unit = "unit",
Value = 123
};
Synopsis
Properties
Unit | Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. |
Value | The integer number of units for the time period. |
Properties
Unit
Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.
string Unit { get; }
Property Value
System.String
Remarks
For example: days, weeks, months, or years.
Value
The integer number of units for the time period.
double Value { get; }
Property Value
System.Double