Class CfnRuleProps.Jsii$Proxy
- All Implemented Interfaces:
CfnRuleProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRuleProps
CfnRuleProps-
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.services.rbin.CfnRuleProps
CfnRuleProps.Builder, CfnRuleProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnRuleProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnRuleProps.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 StringThe retention rule description.final Object[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule.final ObjectInformation about the retention rule lock configuration.final Object[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule.final StringThe resource type to be retained by the retention rule.final ObjectInformation about the retention period for which the retention rule is to retain resources.final StringThe state of the retention rule.getTags()Information about the tags to assign to the retention rule.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 theCfnRuleProps.Builder.
-
-
Method Details
-
getResourceType
Description copied from interface:CfnRulePropsThe resource type to be retained by the retention rule.Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify
EBS_SNAPSHOT. To retain EBS-backed AMIs, specifyEC2_IMAGE.- Specified by:
getResourceTypein interfaceCfnRuleProps- See Also:
-
getRetentionPeriod
Description copied from interface:CfnRulePropsInformation about the retention period for which the retention rule is to retain resources.Returns union: either
IResolvableorCfnRule.RetentionPeriodProperty- Specified by:
getRetentionPeriodin interfaceCfnRuleProps- See Also:
-
getDescription
Description copied from interface:CfnRulePropsThe retention rule description.- Specified by:
getDescriptionin interfaceCfnRuleProps- See Also:
-
getExcludeResourceTags
Description copied from interface:CfnRuleProps[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule.Resources that have any of these tags are not retained by the retention rule upon deletion.
You can't specify exclusion tags for tag-level retention rules.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.ResourceTagProperty>- Specified by:
getExcludeResourceTagsin interfaceCfnRuleProps- See Also:
-
getLockConfiguration
Description copied from interface:CfnRulePropsInformation about the retention rule lock configuration.Returns union: either
IResolvableorCfnRule.UnlockDelayProperty- Specified by:
getLockConfigurationin interfaceCfnRuleProps- See Also:
-
getResourceTags
Description copied from interface:CfnRuleProps[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule.For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.
You can add the same tag key and value pair to a maximum or five retention rules.
To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.ResourceTagProperty>- Specified by:
getResourceTagsin interfaceCfnRuleProps- See Also:
-
getStatus
Description copied from interface:CfnRulePropsThe state of the retention rule.Only retention rules that are in the
availablestate retain resources.- Specified by:
getStatusin interfaceCfnRuleProps- See Also:
-
getTags
Description copied from interface:CfnRulePropsInformation about the tags to assign to the retention rule.- Specified by:
getTagsin interfaceCfnRuleProps- 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()
-