Class CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.CrossRegionCopyRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.CrossRegionCopyRuleProperty
CfnLifecyclePolicy.CrossRegionCopyRuleProperty-
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.dlm.CfnLifecyclePolicy.CrossRegionCopyRuleProperty
CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Builder, CfnLifecyclePolicy.CrossRegionCopyRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.CrossRegionCopyRuleProperty.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 Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.final ObjectIndicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.final Object[Custom AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.final ObjectTo encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter.final ObjectThe retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.final Stringfinal Stringfinal 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 theCfnLifecyclePolicy.CrossRegionCopyRuleProperty.Builder.
-
-
Method Details
-
getEncrypted
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRulePropertyTo encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter.Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
Returns union: either
BooleanorIResolvable- Specified by:
getEncryptedin interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- See Also:
-
getCmkArn
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRulePropertyThe Amazon Resource Name (ARN) of the AWS KMS key to use for EBS encryption.If this parameter is not specified, the default KMS key for the account is used.
- Specified by:
getCmkArnin interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- See Also:
-
getCopyTags
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRulePropertyIndicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.Returns union: either
BooleanorIResolvable- Specified by:
getCopyTagsin interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- See Also:
-
getDeprecateRule
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRuleProperty[Custom AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.Returns union: either
IResolvableorCfnLifecyclePolicy.CrossRegionCopyDeprecateRuleProperty- Specified by:
getDeprecateRulein interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- See Also:
-
getRetainRule
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRulePropertyThe retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.Returns union: either
IResolvableorCfnLifecyclePolicy.CrossRegionCopyRetainRuleProperty- Specified by:
getRetainRulein interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- See Also:
-
getTarget
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRulePropertyUse this parameter for snapshot policies only. For AMI policies, use TargetRegion instead.
[Custom snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
- Specified by:
getTargetin interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- See Also:
-
getTargetRegion
Description copied from interface:CfnLifecyclePolicy.CrossRegionCopyRulePropertyUse this parameter for AMI policies only.
For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies.
[Custom AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
- Specified by:
getTargetRegionin interfaceCfnLifecyclePolicy.CrossRegionCopyRuleProperty- 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()
-