Class CfnLifecyclePolicy.FilterProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy.FilterProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.FilterProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.FilterProperty
@Stability(Stable)
@Internal
public static final class CfnLifecyclePolicy.FilterProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLifecyclePolicy.FilterProperty
An implementation for
CfnLifecyclePolicy.FilterProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy.FilterProperty
CfnLifecyclePolicy.FilterProperty.Builder, CfnLifecyclePolicy.FilterProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.FilterProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
For age-based filters, this is the number of resources to keep on hand after the lifecycleDELETE
action is applied.final String
getType()
Filter resources based on eitherage
orcount
.final String
getUnit()
Defines the unit of time that the lifecycle policy uses to determine impacted resources.final Number
getValue()
The number of units for the time period or for the count.final int
hashCode()
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 theCfnLifecyclePolicy.FilterProperty.Builder
.
-
-
Method Details
-
getType
Description copied from interface:CfnLifecyclePolicy.FilterProperty
Filter resources based on eitherage
orcount
.- Specified by:
getType
in interfaceCfnLifecyclePolicy.FilterProperty
- See Also:
-
getValue
Description copied from interface:CfnLifecyclePolicy.FilterProperty
The number of units for the time period or for the count.For example, a value of
6
might refer to six months or six AMIs.For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.
- Specified by:
getValue
in interfaceCfnLifecyclePolicy.FilterProperty
- See Also:
-
getRetainAtLeast
Description copied from interface:CfnLifecyclePolicy.FilterProperty
For age-based filters, this is the number of resources to keep on hand after the lifecycleDELETE
action is applied.Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.
- Specified by:
getRetainAtLeast
in interfaceCfnLifecyclePolicy.FilterProperty
- See Also:
-
getUnit
Description copied from interface:CfnLifecyclePolicy.FilterProperty
Defines the unit of time that the lifecycle policy uses to determine impacted resources.This is required for age-based rules.
- Specified by:
getUnit
in interfaceCfnLifecyclePolicy.FilterProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-