CrossRegionCopyRule class

Specifies a rule for cross-Region snapshot copies.

Constructors

CrossRegionCopyRule({required bool encrypted, required String targetRegion, String? cmkArn, bool? copyTags, CrossRegionCopyRetainRule? retainRule})
CrossRegionCopyRule.fromJson(Map<String, dynamic> json)
factory

Properties

cmkArn String?
The Amazon Resource Name (ARN) of the AWS KMS customer master key (CMK) to use for EBS encryption. If this parameter is not specified, your AWS managed CMK for EBS is used.
final
copyTags bool?
Copy all user-defined tags from the source snapshot to the copied snapshot.
final
encrypted bool
To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
final
hashCode int
The hash code for this object.
no setterinherited
retainRule CrossRegionCopyRetainRule?
The retention rule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetRegion String
The target Region.
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