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.
allowUnsafeFilterOptional.architectureOS architecture of the AMI (ie:i386orx8664).arnARN of the AMI.blockDeviceMappingsSet of objects with block device mappings of the AMI. SeeblockDeviceMappingsbelow.bootModeBoot mode of the image.creationDateDate and time the image was created.deprecationTimeDate and time when the image will be deprecated.descriptionDescription of the AMI that was provided during image creation.enaSupportWhether enhanced networking with ENA is enabled.executableUsersOptional.filtersOptional.hypervisorHypervisor type of the image.idThe provider-assigned unique ID for this managed resource.imageIdID of the AMI. Should be the same as the resourceid.imageLocationLocation of the AMI.imageOwnerAliasAWS account alias (for example,amazon,self) or the AWS account ID of the AMI owner.imageTypeType of image.imdsSupportInstance Metadata Service (IMDS) support mode for the image. Set tov2.0if instances ran from this image enforce IMDSv2.includeDeprecatedOptional.kernelIdKernel associated with the image, if any. Only applicable for machine images.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.mostRecentOptional.nameName of the filter. For a full reference, check out describe-images in the AWS CLI reference.nameRegexOptional.ownerIdAWS account ID of the image owner.ownersOptional.platformValue is Windows forWindowsAMIs; otherwise blank.platformDetailsPlatform details associated with the billing code of the AMI.productCodesAny product codes associated with the AMI. SeeproductCodesbelow.publictrueif the image has public launch permissions.ramdiskIdRAM disk associated with the image, if any. Only applicable for machine images.regionOptional.rootDeviceNameDevice name of the root device.rootDeviceTypeType of root device (ie:ebsorinstance-store).rootSnapshotIdSnapshot id associated with the root device, if any (only applies toebsroot devices).sriovNetSupportWhether enhanced networking is enabled.stateCurrent state of the AMI. If the state isavailable, the image is successfully registered and can be used to launch an instance.stateReasonDescribes a state change. Fields areUNSETif not available. SeestateReasonbelow.tagsAny tags assigned to the image.tpmSupportIf the image is configured for NitroTPM support, the value isv2.0.uefiDataOptional.usageOperationOperation of the Amazon EC2 instance and the billing code that is associated with the AMI.virtualizationTypeType of virtualization of the AMI (ie:hvmorparavirtual).const -
GetAmiResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- allowUnsafeFilter → bool?
-
final
- architecture → String?
-
OS architecture of the AMI (ie:
i386orx8664).final - arn → String?
-
ARN of the AMI.
final
-
blockDeviceMappings
→ List<
GetAmiBlockDeviceMapping> ? -
Set of objects with block device mappings of the AMI. See
blockDeviceMappingsbelow.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.0if 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
WindowsAMIs; 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
productCodesbelow.final - public → bool?
-
trueif 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:
ebsorinstance-store).final - rootSnapshotId → String?
-
Snapshot id associated with the root device, if any (only applies to
ebsroot 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
UNSETif not available. SeestateReasonbelow.final -
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:
hvmorparavirtual).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