LifecyclePolicyPolicyDetailsScheduleArgs

data class LifecyclePolicyPolicyDetailsScheduleArgs(val copyTags: Output<Boolean>? = null, val createRule: Output<LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs>, val crossRegionCopyRules: Output<List<LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleArgs>>? = null, val deprecateRule: Output<LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs>? = null, val fastRestoreRule: Output<LifecyclePolicyPolicyDetailsScheduleFastRestoreRuleArgs>? = null, val name: Output<String>, val retainRule: Output<LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs>, val shareRule: Output<LifecyclePolicyPolicyDetailsScheduleShareRuleArgs>? = null, val tagsToAdd: Output<Map<String, String>>? = null, val variableTags: Output<Map<String, String>>? = null) : ConvertibleToJava<LifecyclePolicyPolicyDetailsScheduleArgs>

Constructors

Link copied to clipboard
constructor(copyTags: Output<Boolean>? = null, createRule: Output<LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs>, crossRegionCopyRules: Output<List<LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRuleArgs>>? = null, deprecateRule: Output<LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs>? = null, fastRestoreRule: Output<LifecyclePolicyPolicyDetailsScheduleFastRestoreRuleArgs>? = null, name: Output<String>, retainRule: Output<LifecyclePolicyPolicyDetailsScheduleRetainRuleArgs>, shareRule: Output<LifecyclePolicyPolicyDetailsScheduleShareRuleArgs>? = null, tagsToAdd: Output<Map<String, String>>? = null, variableTags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val copyTags: Output<Boolean>? = null

Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.

Link copied to clipboard

See the create_rule block. Max of 1 per schedule.

Link copied to clipboard

See the cross_region_copy_rule block. Max of 3 per schedule.

Link copied to clipboard

See the deprecate_rule block. Max of 1 per schedule.

Link copied to clipboard

See the fast_restore_rule block. Max of 1 per schedule.

Link copied to clipboard
val name: Output<String>

A descriptive name for the action.

Link copied to clipboard

Specifies the retention rule for cross-Region snapshot copies. See the retain_rule block. Max of 1 per action.

Link copied to clipboard

See the share_rule block. Max of 1 per schedule.

Link copied to clipboard
val tagsToAdd: Output<Map<String, String>>? = null

A map of tag keys and their values. DLM lifecycle policies will already tag the snapshot with the tags on the volume. This configuration adds extra tags on top of these.

Link copied to clipboard
val variableTags: Output<Map<String, String>>? = null

A map of tag keys and variable values, where the values are determined when the policy is executed. Only $(instance-id) or $(timestamp) are valid values. Can only be used when resource_types is INSTANCE.

Functions

Link copied to clipboard
open override fun toJava(): LifecyclePolicyPolicyDetailsScheduleArgs