Interface CfnLifecyclePolicyPropsMixin.LastLaunchedProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecyclePolicyPropsMixin.LastLaunchedProperty.Jsii$Proxy
- Enclosing class:
CfnLifecyclePolicyPropsMixin
@Stability(Stable)
public static interface CfnLifecyclePolicyPropsMixin.LastLaunchedProperty
extends software.amazon.jsii.JsiiSerializable
Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.*;
LastLaunchedProperty lastLaunchedProperty = LastLaunchedProperty.builder()
.unit("unit")
.value(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecyclePolicyPropsMixin.LastLaunchedPropertystatic final classAn implementation forCfnLifecyclePolicyPropsMixin.LastLaunchedProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUnit
Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.For example: days, weeks, months, or years.
- See Also:
-
getValue
The integer number of units for the time period.For example
6(months).- See Also:
-
builder
-