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<AmiCopyEbsBlockDevice>?>? ebsBlockDevices, Input<bool?>? encrypted, Input<List<AmiCopyEphemeralBlockDevice>?>? ephemeralBlockDevices, Input<String?>? kmsKeyId, Input<String?>? name, Input<String?>? region, required Input<String> sourceAmiId, required Input<String> sourceAmiRegion, Input<Map<String, String>?>? tags})
Creates a new AmiCopyArgs. deprecationTime 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) description Longer, human-readable description for the AMI. destinationOutpostArn ARN of the Outpost to which to copy the AMI. ebsBlockDevices Nested block describing an EBS block device that should be encrypted Whether the destination snapshots of the copied image should be encrypted. Defaults to false ephemeralBlockDevices Nested block describing an ephemeral block device that kmsKeyId 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 name Region-unique name for the AMI. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. sourceAmiId Id of the AMI to copy. This id must be valid in the region sourceAmiRegion Region from which the AMI will be copied. This may be the tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration 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 false
final
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
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. If configured with a provider defaultTags configuration 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