Schedule class
Specifies a backup schedule for a snapshot or AMI lifecycle policy.
Constructors
-
Schedule({bool? copyTags, CreateRule? createRule, List<
CrossRegionCopyRule> ? crossRegionCopyRules, FastRestoreRule? fastRestoreRule, String? name, RetainRule? retainRule, List<Tag> ? tagsToAdd, List<Tag> ? variableTags}) -
Schedule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyTags → bool?
-
Copy all user-defined tags on a source volume to snapshots of the volume
created by this policy.
final
- createRule → CreateRule?
-
The creation rule.
final
-
crossRegionCopyRules
→ List<
CrossRegionCopyRule> ? -
The rule for cross-Region snapshot copies.
final
- fastRestoreRule → FastRestoreRule?
-
The rule for enabling fast snapshot restore.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The name of the schedule.
final
- retainRule → RetainRule?
-
The retention rule.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The rule for sharing snapshots with other AWS accounts.
final
-
The tags to apply to policy-created resources. These user-defined tags are
in addition to the AWS-added lifecycle tags.
final
-
variableTags
→ List<
Tag> ? -
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.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited