AmiState class
Input properties used for looking up and filtering Ami resources.
Constructors
-
AmiState({Input<
String?> ? architecture, Input<String?> ? arn, Input<String?> ? bootMode, Input<String?> ? deprecationTime, Input<String?> ? description, Input<List< ? ebsBlockDevices, Input<AmiEbsBlockDevice> ?>bool?> ? enaSupport, Input<List< ? ephemeralBlockDevices, Input<AmiEphemeralBlockDevice> ?>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<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 AmiState.
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 thathypervisorHypervisor type of the image.imageLocationOptional.imageOwnerAliasAWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.imageTypeType of image.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.kernelIdOptional.lastLaunchedTimeDate 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.ownerIdAWS account ID of the image owner.platformThis value is set to windows for Windows AMIs; otherwise, it is blank.platformDetailsPlatform details associated with the billing code of the AMI.publicWhether the image has public launch permissions.ramdiskIdOptional.regionRegion 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).rootSnapshotIdSnapshot ID for the root volume (for EBS-backed AMIs)sriovNetSupportOptional.tagsMap 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.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.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.usageOperationOperation of the Amazon EC2 instance and the billing code that is associated with the AMI.virtualizationTypeKeyword to choose what virtualization mode created instancesconst -
AmiState.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< ?AmiEbsBlockDevice> ?> -
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< ?AmiEphemeralBlockDevice> ?> -
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?> ? -
Hypervisor type of the image.
final
-
imageLocation
→ Input<
String?> ? -
final
-
imageOwnerAlias
→ Input<
String?> ? -
AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
final
-
imageType
→ Input<
String?> ? -
Type of image.
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?> ? -
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?> ? -
AWS account ID of the image owner.
final
-
platform
→ Input<
String?> ? -
This value is set to windows for Windows AMIs; otherwise, it is blank.
final
-
platformDetails
→ Input<
String?> ? -
Platform details associated with the billing code of the AMI.
final
-
public
→ Input<
bool?> ? -
Whether the image has public launch permissions.
final
-
ramdiskId
→ Input<
String?> ? -
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?> ? -
Snapshot ID for the root volume (for EBS-backed AMIs)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sriovNetSupport
→ Input<
String?> ? -
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 -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.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?> ? -
Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
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