AmiCopyArgs class
The set of arguments for AmiCopy. The set of arguments for AmiCopy.
Constructors
-
AmiCopyArgs({Input<
String?> ? deprecationTime, Input<String?> ? description, Input<String?> ? destinationOutpostArn, Input<List< ? ebsBlockDevices, Input<AmiCopyEbsBlockDevice> ?>bool?> ? encrypted, Input<List< ? ephemeralBlockDevices, Input<AmiCopyEphemeralBlockDevice> ?>String?> ? kmsKeyId, Input<String?> ? name, Input<String?> ? region, required Input<String> sourceAmiId, required Input<String> sourceAmiRegion, Input<Map< ? tags})String, String> ?> -
Creates a new AmiCopyArgs.
deprecationTimeDate and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)descriptionLonger, human-readable description for the AMI.destinationOutpostArnARN of the Outpost to which to copy the AMI.ebsBlockDevicesNested block describing an EBS block device that should beencryptedWhether the destination snapshots of the copied image should be encrypted. Defaults tofalseephemeralBlockDevicesNested block describing an ephemeral block device thatkmsKeyIdFull ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be usednameRegion-unique name for the AMI.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.sourceAmiIdId of the AMI to copy. This id must be valid in the regionsourceAmiRegionRegion from which the AMI will be copied. This may be thetagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
AmiCopyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deprecationTime
→ Input<
String?> ? -
Date and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: RFC3339 time string (
YYYY-MM-DDTHH:MM:SSZ)final -
description
→ Input<
String?> ? -
Longer, human-readable description for the AMI.
final
-
destinationOutpostArn
→ Input<
String?> ? -
ARN of the Outpost to which to copy the AMI.
Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost.
final
-
ebsBlockDevices
→ Input<
List< ?AmiCopyEbsBlockDevice> ?> -
Nested block describing an EBS block device that should be
attached to created instances. The structure of this block is described below.
final
-
encrypted
→ Input<
bool?> ? -
Whether the destination snapshots of the copied image should be encrypted. Defaults to
falsefinal -
ephemeralBlockDevices
→ Input<
List< ?AmiCopyEphemeralBlockDevice> ?> -
Nested block describing an ephemeral block device that
should be attached to created instances. The structure of this block is described below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyId
→ Input<
String?> ? -
Full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used
final
-
name
→ Input<
String?> ? -
Region-unique name for the AMI.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceAmiId
→ Input<
String> -
Id of the AMI to copy. This id must be valid in the region
given by
sourceAmiRegion.final -
sourceAmiRegion
→ Input<
String> -
Region from which the AMI will be copied. This may be the
same as the AWS provider region in order to create a copy within the same region.
final
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.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