LifecyclePolicyPolicyDetailsSchedule class
Constructors
-
LifecyclePolicyPolicyDetailsSchedule({Input<
LifecyclePolicyPolicyDetailsScheduleArchiveRule?> ? archiveRule, Input<bool?> ? copyTags, required Input<LifecyclePolicyPolicyDetailsScheduleCreateRule> createRule, Input<List< ? crossRegionCopyRules, Input<LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRule> ?>LifecyclePolicyPolicyDetailsScheduleDeprecateRule?> ? deprecateRule, Input<LifecyclePolicyPolicyDetailsScheduleFastRestoreRule?> ? fastRestoreRule, required Input<String> name, required Input<LifecyclePolicyPolicyDetailsScheduleRetainRule> retainRule, Input<Map< ? tagsToAdd, Input<String, String> ?>Map< ? variableTags})String, String> ?> -
Creates a new LifecyclePolicyPolicyDetailsSchedule.
archiveRuleSpecifies a snapshot archiving rule for a schedule. SeearchiveRuleblock.copyTagsOptional.createRuleSee thecreateRuleblock. Max of 1 per schedule.crossRegionCopyRulesSee thecrossRegionCopyRuleblock. Max of 3 per schedule.deprecateRuleOptional.fastRestoreRuleSee thefastRestoreRuleblock. Max of 1 per schedule.nameRequired.retainRuleRequired.shareRuleSee theshareRuleblock. Max of 1 per schedule.tagsToAddA 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.variableTagsA 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 whenresourceTypesisINSTANCE.const -
LifecyclePolicyPolicyDetailsSchedule.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
archiveRule
→ Input<
LifecyclePolicyPolicyDetailsScheduleArchiveRule?> ? -
Specifies a snapshot archiving rule for a schedule. See
archiveRuleblock.final -
copyTags
→ Input<
bool?> ? -
final
-
createRule
→ Input<
LifecyclePolicyPolicyDetailsScheduleCreateRule> -
See the
createRuleblock. Max of 1 per schedule.final -
crossRegionCopyRules
→ Input<
List< ?LifecyclePolicyPolicyDetailsScheduleCrossRegionCopyRule> ?> -
See the
crossRegionCopyRuleblock. Max of 3 per schedule.final -
deprecateRule
→ Input<
LifecyclePolicyPolicyDetailsScheduleDeprecateRule?> ? -
final
-
fastRestoreRule
→ Input<
LifecyclePolicyPolicyDetailsScheduleFastRestoreRule?> ? -
See the
fastRestoreRuleblock. Max of 1 per schedule.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> -
final
-
retainRule
→ Input<
LifecyclePolicyPolicyDetailsScheduleRetainRule> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
See the
shareRuleblock. Max of 1 per schedule.final -
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.
final
-
variableTags
→ Input<
Map< ?String, String> ?> -
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 whenresourceTypesisINSTANCE.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited