Class CfnLifecyclePolicy.ScheduleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.ScheduleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.ScheduleProperty
CfnLifecyclePolicy.ScheduleProperty-
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.ScheduleProperty
CfnLifecyclePolicy.ScheduleProperty.Builder, CfnLifecyclePolicy.ScheduleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.ScheduleProperty.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 Object[Custom snapshot policies that target volumes only] The snapshot archiving rule for the schedule.final ObjectCopy all user-defined tags on a source volume to snapshots of the volume created by this policy.final ObjectThe creation rule.final ObjectSpecifies a rule for copying snapshots or AMIs across Regions.final Object[Custom AMI policies only] The AMI deprecation rule for the schedule.final Object[Custom snapshot policies only] The rule for enabling fast snapshot restore.final StringgetName()The name of the schedule.final ObjectThe retention rule for snapshots or AMIs created by the policy.final Object[Custom snapshot policies only] The rule for sharing snapshots with other AWS accounts .final ObjectThe tags to apply to policy-created resources.final Object[AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed.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 theCfnLifecyclePolicy.ScheduleProperty.Builder.
-
-
Method Details
-
getArchiveRule
Description copied from interface:CfnLifecyclePolicy.ScheduleProperty[Custom snapshot policies that target volumes only] The snapshot archiving rule for the schedule.When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify.
For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies .
Returns union: either
IResolvableorCfnLifecyclePolicy.ArchiveRuleProperty- Specified by:
getArchiveRulein interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getCopyTags
Description copied from interface:CfnLifecyclePolicy.SchedulePropertyCopy all user-defined tags on a source volume to snapshots of the volume created by this policy.Returns union: either
BooleanorIResolvable- Specified by:
getCopyTagsin interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getCreateRule
Description copied from interface:CfnLifecyclePolicy.SchedulePropertyThe creation rule.Returns union: either
IResolvableorCfnLifecyclePolicy.CreateRuleProperty- Specified by:
getCreateRulein interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getCrossRegionCopyRules
Description copied from interface:CfnLifecyclePolicy.SchedulePropertySpecifies a rule for copying snapshots or AMIs across Regions.You can't specify cross-Region copy rules for policies that create snapshots on an Outpost or in a Local Zone. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLifecyclePolicy.CrossRegionCopyRuleProperty>- Specified by:
getCrossRegionCopyRulesin interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getDeprecateRule
Description copied from interface:CfnLifecyclePolicy.ScheduleProperty[Custom AMI policies only] The AMI deprecation rule for the schedule.Returns union: either
IResolvableorCfnLifecyclePolicy.DeprecateRuleProperty- Specified by:
getDeprecateRulein interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getFastRestoreRule
Description copied from interface:CfnLifecyclePolicy.ScheduleProperty[Custom snapshot policies only] The rule for enabling fast snapshot restore.Returns union: either
IResolvableorCfnLifecyclePolicy.FastRestoreRuleProperty- Specified by:
getFastRestoreRulein interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getName
Description copied from interface:CfnLifecyclePolicy.SchedulePropertyThe name of the schedule.- Specified by:
getNamein interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getRetainRule
Description copied from interface:CfnLifecyclePolicy.SchedulePropertyThe retention rule for snapshots or AMIs created by the policy.Returns union: either
IResolvableorCfnLifecyclePolicy.RetainRuleProperty- Specified by:
getRetainRulein interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getTagsToAdd
Description copied from interface:CfnLifecyclePolicy.SchedulePropertyThe tags to apply to policy-created resources.These user-defined tags are in addition to the AWS -added lifecycle tags.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTag>- Specified by:
getTagsToAddin interfaceCfnLifecyclePolicy.ScheduleProperty- See Also:
-
getVariableTags
Description copied from interface:CfnLifecyclePolicy.ScheduleProperty[AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed.Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats:
$(instance-id)or$(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTag>- Specified by:
getVariableTagsin interfaceCfnLifecyclePolicy.ScheduleProperty- 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()
-