Class CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.dlm.CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty
An implementation for
CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.dlm.CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty
CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Builder, CfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumbergetCount()If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate.final NumberIf the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule.final StringThe unit of time in which to measure the Interval .final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicyPropsMixin.DeprecateRuleProperty.Builder.
-
-
Method Details
-
getCount
Description copied from interface:CfnLifecyclePolicyPropsMixin.DeprecateRulePropertyIf the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate.The count must be less than or equal to the schedule's retention count, and it can't be greater than 1000.
- Specified by:
getCountin interfaceCfnLifecyclePolicyPropsMixin.DeprecateRuleProperty- See Also:
-
getInterval
Description copied from interface:CfnLifecyclePolicyPropsMixin.DeprecateRulePropertyIf the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule.The period must be less than or equal to the schedule's retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
- Specified by:
getIntervalin interfaceCfnLifecyclePolicyPropsMixin.DeprecateRuleProperty- See Also:
-
getIntervalUnit
Description copied from interface:CfnLifecyclePolicyPropsMixin.DeprecateRulePropertyThe unit of time in which to measure the Interval .- Specified by:
getIntervalUnitin interfaceCfnLifecyclePolicyPropsMixin.DeprecateRuleProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-