AmiCopyState class
Input properties used for looking up and filtering AmiCopy resources.
Constructors
-
AmiCopyState({Input<
String?> ? architecture, Input<String?> ? arn, Input<String?> ? bootMode, Input<String?> ? deprecationTime, Input<String?> ? description, Input<String?> ? destinationOutpostArn, Input<List< ? ebsBlockDevices, Input<AmiCopyEbsBlockDevice> ?>bool?> ? enaSupport, Input<bool?> ? encrypted, Input<List< ? ephemeralBlockDevices, Input<AmiCopyEphemeralBlockDevice> ?>String?> ? hypervisor, Input<String?> ? imageLocation, Input<String?> ? imageOwnerAlias, Input<String?> ? imageType, Input<String?> ? imdsSupport, Input<String?> ? kernelId, Input<String?> ? kmsKeyId, Input<String?> ? lastLaunchedTime, Input<bool?> ? manageEbsSnapshots, Input<String?> ? name, Input<String?> ? ownerId, Input<String?> ? platform, Input<String?> ? platformDetails, Input<bool?> ? public, Input<String?> ? ramdiskId, Input<String?> ? region, Input<String?> ? rootDeviceName, Input<String?> ? rootSnapshotId, Input<String?> ? sourceAmiId, Input<String?> ? sourceAmiRegion, Input<String?> ? sriovNetSupport, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? tpmSupport, Input<String?> ? uefiData, Input<String?> ? usageOperation, Input<String?> ? virtualizationType}) -
Creates a new AmiCopyState.
architectureMachine architecture for created instances. Defaults tox8664.arnARN of the AMI.bootModeBoot mode of the AMI. For more information, see Boot modes in the EC2 User Guide.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 beenaSupportWhether enhanced networking with ENA is enabled. Defaults tofalse.encryptedWhether the destination snapshots of the copied image should be encrypted. Defaults tofalseephemeralBlockDevicesNested block describing an ephemeral block device thathypervisorOptional.imageLocationPath to an S3 object containing an image manifest, e.g., createdimageOwnerAliasOptional.imageTypeOptional.imdsSupportIf EC2 instances started from this image should require the use of the Instance Metadata Service V2 (IMDSv2), set this argument tov2.0. For more information, see Configure instance metadata options for new instances.kernelIdID of the kernel image (AKI) that will be used as the paravirtualkmsKeyIdFull 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 usedlastLaunchedTimeDate and time, in ISO 8601 date-time format , when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported. For more information, see the following AWS document.manageEbsSnapshotsOptional.nameRegion-unique name for the AMI.ownerIdOptional.platformOptional.platformDetailsOptional.publicOptional.ramdiskIdID of an initrd image (ARI) that will be used when booting theregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.rootDeviceNameName of the root device (for example,/dev/sda1, or/dev/xvda).rootSnapshotIdOptional.sourceAmiIdId of the AMI to copy. This id must be valid in the regionsourceAmiRegionRegion from which the AMI will be copied. This may be thesriovNetSupportWhen set to "simple" (the default), enables enhanced networkingtagsMap 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.tagsAllOptional.tpmSupportIf the image is configured for NitroTPM support, the value isv2.0. For more information, see NitroTPM in the EC2 User Guide.uefiDataBase64 representation of the non-volatile UEFI variable store.usageOperationOptional.virtualizationTypeKeyword to choose what virtualization mode created instancesconst -
AmiCopyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
architecture
→ Input<
String?> ? -
Machine architecture for created instances. Defaults to
x8664.final -
arn
→ Input<
String?> ? -
ARN of the AMI.
final
-
bootMode
→ Input<
String?> ? -
Boot mode of the AMI. For more information, see Boot modes in the EC2 User Guide.
final
-
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
-
enaSupport
→ Input<
bool?> ? -
Whether enhanced networking with ENA is enabled. Defaults to
false.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
-
hypervisor
→ Input<
String?> ? -
final
-
imageLocation
→ Input<
String?> ? -
Path to an S3 object containing an image manifest, e.g., created
by the
ec2-upload-bundlecommand in the EC2 command line tools.final -
imageOwnerAlias
→ Input<
String?> ? -
final
-
imageType
→ Input<
String?> ? -
final
-
imdsSupport
→ Input<
String?> ? -
If EC2 instances started from this image should require the use of the Instance Metadata Service V2 (IMDSv2), set this argument to
v2.0. For more information, see Configure instance metadata options for new instances.final -
kernelId
→ Input<
String?> ? -
ID of the kernel image (AKI) that will be used as the paravirtual
kernel in created instances.
final
-
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
-
lastLaunchedTime
→ Input<
String?> ? -
Date and time, in ISO 8601 date-time format , when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported. For more information, see the following AWS document.
final
-
manageEbsSnapshots
→ Input<
bool?> ? -
final
-
name
→ Input<
String?> ? -
Region-unique name for the AMI.
final
-
ownerId
→ Input<
String?> ? -
final
-
platform
→ Input<
String?> ? -
final
-
platformDetails
→ Input<
String?> ? -
final
-
public
→ Input<
bool?> ? -
final
-
ramdiskId
→ Input<
String?> ? -
ID of an initrd image (ARI) that will be used when booting the
created instances.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
rootDeviceName
→ Input<
String?> ? -
Name of the root device (for example,
/dev/sda1, or/dev/xvda).final -
rootSnapshotId
→ Input<
String?> ? -
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
-
sriovNetSupport
→ Input<
String?> ? -
When set to "simple" (the default), enables enhanced networking
for created instances. No other value is supported at this time.
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 -
final
-
tpmSupport
→ Input<
String?> ? -
If the image is configured for NitroTPM support, the value is
v2.0. For more information, see NitroTPM in the EC2 User Guide.final -
uefiData
→ Input<
String?> ? -
Base64 representation of the non-volatile UEFI variable store.
final
-
usageOperation
→ Input<
String?> ? -
final
-
virtualizationType
→ Input<
String?> ? -
Keyword to choose what virtualization mode created instances
will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type
changes the set of further arguments that are required, as described below.
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