AmiFromInstanceState class
Input properties used for looking up and filtering AmiFromInstance resources.
Constructors
-
AmiFromInstanceState({Input<
String?> ? architecture, Input<String?> ? arn, Input<String?> ? bootMode, Input<String?> ? deprecationTime, Input<String?> ? description, Input<List< ? ebsBlockDevices, Input<AmiFromInstanceEbsBlockDevice> ?>bool?> ? enaSupport, Input<List< ? ephemeralBlockDevices, Input<AmiFromInstanceEphemeralBlockDevice> ?>String?> ? hypervisor, Input<String?> ? imageLocation, Input<String?> ? imageOwnerAlias, Input<String?> ? imageType, Input<String?> ? imdsSupport, Input<String?> ? kernelId, 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<bool?> ? snapshotWithoutReboot, Input<String?> ? sourceInstanceId, 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 AmiFromInstanceState.
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.ebsBlockDevicesNested block describing an EBS block device that should beenaSupportWhether enhanced networking with ENA is enabled. Defaults tofalse.ephemeralBlockDevicesNested 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 paravirtuallastLaunchedTimeDate 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.snapshotWithoutRebootBoolean that overrides the behavior of stoppingsourceInstanceIdID of the instance to use as the basis of the AMI.sriovNetSupportWhen 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 -
AmiFromInstanceState.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
-
ebsBlockDevices
→ Input<
List< ?AmiFromInstanceEbsBlockDevice> ?> -
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 -
ephemeralBlockDevices
→ Input<
List< ?AmiFromInstanceEphemeralBlockDevice> ?> -
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
-
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
-
snapshotWithoutReboot
→ Input<
bool?> ? -
Boolean that overrides the behavior of stopping
the instance before snapshotting. This is risky since it may cause a snapshot of an
inconsistent filesystem state, but can be used to avoid downtime if the user otherwise
guarantees that no filesystem writes will be underway at the time of snapshot.
final
-
sourceInstanceId
→ Input<
String?> ? -
ID of the instance to use as the basis of the AMI.
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