Class CfnLifecyclePolicy.CreateRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLifecyclePolicy.CreateRuleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLifecyclePolicy.CreateRuleProperty
CfnLifecyclePolicy.CreateRuleProperty
-
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.dlm.CfnLifecyclePolicy.CreateRuleProperty
CfnLifecyclePolicy.CreateRuleProperty.Builder, CfnLifecyclePolicy.CreateRuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLifecyclePolicy.CreateRuleProperty.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 String
The schedule, as a Cron expression.final Number
The interval between snapshots.final String
The interval unit.final String
[Custom snapshot policies only] Specifies the destination for snapshots created by the policy.final Object
[Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances.getTimes()
The time, in UTC, to start the operation.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.CreateRuleProperty.Builder
.
-
-
Method Details
-
getCronExpression
Description copied from interface:CfnLifecyclePolicy.CreateRuleProperty
The schedule, as a Cron expression.The schedule interval must be between 1 hour and 1 year. For more information, see the Cron expressions reference in the Amazon EventBridge User Guide .
- Specified by:
getCronExpression
in interfaceCfnLifecyclePolicy.CreateRuleProperty
- See Also:
-
getInterval
Description copied from interface:CfnLifecyclePolicy.CreateRuleProperty
The interval between snapshots.The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
- Specified by:
getInterval
in interfaceCfnLifecyclePolicy.CreateRuleProperty
- See Also:
-
getIntervalUnit
Description copied from interface:CfnLifecyclePolicy.CreateRuleProperty
The interval unit.- Specified by:
getIntervalUnit
in interfaceCfnLifecyclePolicy.CreateRuleProperty
- See Also:
-
getLocation
Description copied from interface:CfnLifecyclePolicy.CreateRuleProperty
[Custom snapshot policies only] Specifies the destination for snapshots created by the policy.To create snapshots in the same Region as the source resource, specify
CLOUD
. To create snapshots on the same Outpost as the source resource, specifyOUTPOST_LOCAL
. If you omit this parameter,CLOUD
is used by default.If the policy targets resources in an AWS Region , then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
- Specified by:
getLocation
in interfaceCfnLifecyclePolicy.CreateRuleProperty
- See Also:
-
getScripts
Description copied from interface:CfnLifecyclePolicy.CreateRuleProperty
[Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances.This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation.
For more information, see Automating application-consistent snapshots with pre and post scripts .
- Specified by:
getScripts
in interfaceCfnLifecyclePolicy.CreateRuleProperty
- See Also:
-
getTimes
Description copied from interface:CfnLifecyclePolicy.CreateRuleProperty
The time, in UTC, to start the operation. The supported format is hh:mm.The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.
- Specified by:
getTimes
in interfaceCfnLifecyclePolicy.CreateRuleProperty
- 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()
-