@Stability(value=Stable) @Internal public static final class CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLifecyclePolicy.CrossRegionCopyRuleProperty
CfnLifecyclePolicy.CrossRegionCopyRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLifecyclePolicy.CrossRegionCopyRuleProperty.Builder, CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLifecyclePolicy.ActionProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCmkArn()
The Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.
|
Object |
getCopyTags()
Indicates whether to copy all user-defined tags from the source snapshot to the cross-Region snapshot copy.
|
Object |
getDeprecateRule()
The AMI deprecation rule for cross-Region AMI copies created by the rule.
|
Object |
getEncrypted()
To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter.
|
Object |
getRetainRule()
The retention rule that indicates how long snapshot copies are to be retained in the destination Region.
|
String |
getTarget()
The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
|
String |
getTargetRegion()
Avoid using this parameter when creating new policies.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Builder builder)
CfnLifecyclePolicy.ActionProperty.Builder.public final Object getEncrypted()
CfnLifecyclePolicy.CrossRegionCopyRulePropertyCopies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
getEncrypted in interface CfnLifecyclePolicy.CrossRegionCopyRulePropertypublic final String getCmkArn()
CfnLifecyclePolicy.CrossRegionCopyRulePropertyIf this parameter is not specified, the default KMS key for the account is used.
getCmkArn in interface CfnLifecyclePolicy.CrossRegionCopyRulePropertypublic final Object getCopyTags()
CfnLifecyclePolicy.CrossRegionCopyRulePropertygetCopyTags in interface CfnLifecyclePolicy.CrossRegionCopyRulePropertypublic final Object getDeprecateRule()
CfnLifecyclePolicy.CrossRegionCopyRulePropertygetDeprecateRule in interface CfnLifecyclePolicy.CrossRegionCopyRulePropertypublic final Object getRetainRule()
CfnLifecyclePolicy.CrossRegionCopyRulePropertygetRetainRule in interface CfnLifecyclePolicy.CrossRegionCopyRulePropertypublic final String getTarget()
CfnLifecyclePolicy.CrossRegionCopyRulePropertyUse this parameter instead of TargetRegion . Do not specify both.
getTarget in interface CfnLifecyclePolicy.CrossRegionCopyRulePropertypublic final String getTargetRegion()
CfnLifecyclePolicy.CrossRegionCopyRulePropertyInstead, use Target to specify a target Region or a target Outpost for snapshot copies.
For policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
getTargetRegion in interface CfnLifecyclePolicy.CrossRegionCopyRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.