GetAmiResult class

Result data returned by getAmi.

Constructors

GetAmiResult({bool? allowUnsafeFilter, String? architecture, String? arn, List<GetAmiBlockDeviceMapping>? blockDeviceMappings, String? bootMode, String? creationDate, String? deprecationTime, String? description, bool? enaSupport, List<String>? executableUsers, List<GetAmiFilter>? filters, String? hypervisor, String? id, String? imageId, String? imageLocation, String? imageOwnerAlias, String? imageType, String? imdsSupport, bool? includeDeprecated, String? kernelId, String? lastLaunchedTime, bool? mostRecent, String? name, String? nameRegex, String? ownerId, List<String>? owners, String? platform, String? platformDetails, List<GetAmiProductCode>? productCodes, bool? public, String? ramdiskId, String? region, String? rootDeviceName, String? rootDeviceType, String? rootSnapshotId, String? sriovNetSupport, String? state, Map<String, String>? stateReason, Map<String, String>? tags, String? tpmSupport, String? uefiData, String? usageOperation, String? virtualizationType})
Creates a new GetAmiResult. allowUnsafeFilter Optional. architecture OS architecture of the AMI (ie: i386 or x8664). arn ARN of the AMI. blockDeviceMappings Set of objects with block device mappings of the AMI. See blockDeviceMappings below. bootMode Boot mode of the image. creationDate Date and time the image was created. deprecationTime Date and time when the image will be deprecated. description Description of the AMI that was provided during image creation. enaSupport Whether enhanced networking with ENA is enabled. executableUsers Optional. filters Optional. hypervisor Hypervisor type of the image. id The provider-assigned unique ID for this managed resource. imageId ID of the AMI. Should be the same as the resource id. imageLocation Location of the AMI. imageOwnerAlias AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner. imageType Type of image. imdsSupport Instance Metadata Service (IMDS) support mode for the image. Set to v2.0 if instances ran from this image enforce IMDSv2. includeDeprecated Optional. kernelId Kernel associated with the image, if any. Only applicable for machine images. 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. mostRecent Optional. name Name of the filter. For a full reference, check out describe-images in the AWS CLI reference. nameRegex Optional. ownerId AWS account ID of the image owner. owners Optional. platform Value is Windows for Windows AMIs; otherwise blank. platformDetails Platform details associated with the billing code of the AMI. productCodes Any product codes associated with the AMI. See productCodes below. public true if the image has public launch permissions. ramdiskId RAM disk associated with the image, if any. Only applicable for machine images. region Optional. rootDeviceName Device name of the root device. rootDeviceType Type of root device (ie: ebs or instance-store). rootSnapshotId Snapshot id associated with the root device, if any (only applies to ebs root devices). sriovNetSupport Whether enhanced networking is enabled. state Current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance. stateReason Describes a state change. Fields are UNSET if not available. See stateReason below. tags Any tags assigned to the image. tpmSupport If the image is configured for NitroTPM support, the value is v2.0. uefiData Optional. usageOperation Operation of the Amazon EC2 instance and the billing code that is associated with the AMI. virtualizationType Type of virtualization of the AMI (ie: hvm or paravirtual).
const
GetAmiResult.fromMap(Map<String, dynamic> map)
factory

Properties

allowUnsafeFilter → bool?
final
architecture → String?
OS architecture of the AMI (ie: i386 or x8664).
final
arn → String?
ARN of the AMI.
final
blockDeviceMappings → List<GetAmiBlockDeviceMapping>?
Set of objects with block device mappings of the AMI. See blockDeviceMappings below.
final
bootMode → String?
Boot mode of the image.
final
creationDate → String?
Date and time the image was created.
final
deprecationTime → String?
Date and time when the image will be deprecated.
final
description → String?
Description of the AMI that was provided during image creation.
final
enaSupport → bool?
Whether enhanced networking with ENA is enabled.
final
executableUsers → List<String>?
final
filters → List<GetAmiFilter>?
final
hashCode → int
The hash code for this object.
no setterinherited
hypervisor → String?
Hypervisor type of the image.
final
id → String?
The provider-assigned unique ID for this managed resource.
final
imageId → String?
ID of the AMI. Should be the same as the resource id.
final
imageLocation → String?
Location of the AMI.
final
imageOwnerAlias → String?
AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
final
imageType → String?
Type of image.
final
imdsSupport → String?
Instance Metadata Service (IMDS) support mode for the image. Set to v2.0 if instances ran from this image enforce IMDSv2.
final
includeDeprecated → bool?
final
kernelId → String?
Kernel associated with the image, if any. Only applicable for machine images.
final
lastLaunchedTime → 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
mostRecent → bool?
final
name → String?
Name of the filter. For a full reference, check out describe-images in the AWS CLI reference.
final
nameRegex → String?
final
ownerId → String?
AWS account ID of the image owner.
final
owners → List<String>?
final
platform → String?
Value is Windows for Windows AMIs; otherwise blank.
final
platformDetails → String?
Platform details associated with the billing code of the AMI.
final
productCodes → List<GetAmiProductCode>?
Any product codes associated with the AMI. See productCodes below.
final
public → bool?
true if the image has public launch permissions.
final
ramdiskId → String?
RAM disk associated with the image, if any. Only applicable for machine images.
final
region → String?
final
rootDeviceName → String?
Device name of the root device.
final
rootDeviceType → String?
Type of root device (ie: ebs or instance-store).
final
rootSnapshotId → String?
Snapshot id associated with the root device, if any (only applies to ebs root devices).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sriovNetSupport → String?
Whether enhanced networking is enabled.
final
state → String?
Current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.
final
stateReason → Map<String, String>?
Describes a state change. Fields are UNSET if not available. See stateReason below.
final
tags → Map<String, String>?
Any tags assigned to the image.
final
tpmSupport → String?
If the image is configured for NitroTPM support, the value is v2.0.
final
uefiData → String?
final
usageOperation → String?
Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
final
virtualizationType → String?
Type of virtualization of the AMI (ie: hvm or paravirtual).
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