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<AmiEbsBlockDevice>?>? ebsBlockDevices, Input<bool?>? enaSupport, Input<List<AmiEphemeralBlockDevice>?>? ephemeralBlockDevices, Input<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<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<String?>? tpmSupport, Input<String?>? uefiData, Input<String?>? usageOperation, Input<String?>? virtualizationType})
Creates a new AmiState. architecture Machine architecture for created instances. Defaults to x8664. arn ARN of the AMI. bootMode Boot mode of the AMI. For more information, see Boot modes in the EC2 User Guide. 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. ebsBlockDevices Nested block describing an EBS block device that should be enaSupport Whether enhanced networking with ENA is enabled. Defaults to false. ephemeralBlockDevices Nested block describing an ephemeral block device that hypervisor Hypervisor type of the image. imageLocation Optional. imageOwnerAlias AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner. imageType Type of image. imdsSupport 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. kernelId Optional. lastLaunchedTime 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. manageEbsSnapshots Optional. name Region-unique name for the AMI. ownerId AWS account ID of the image owner. platform This value is set to windows for Windows AMIs; otherwise, it is blank. platformDetails Platform details associated with the billing code of the AMI. public Whether the image has public launch permissions. ramdiskId Optional. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. rootDeviceName Name of the root device (for example, /dev/sda1, or /dev/xvda). rootSnapshotId Snapshot ID for the root volume (for EBS-backed AMIs) sriovNetSupport Optional. 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. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. tpmSupport If the image is configured for NitroTPM support, the value is v2.0. For more information, see NitroTPM in the EC2 User Guide. uefiData Base64 representation of the non-volatile UEFI variable store. usageOperation Operation of the Amazon EC2 instance and the billing code that is associated with the AMI. virtualizationType Keyword to choose what virtualization mode created instances
const
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
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
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration 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