GetAmiResult

data class GetAmiResult(val architecture: String, val arn: String, val blockDeviceMappings: List<GetAmiBlockDeviceMapping>, val bootMode: String, val creationDate: String, val deprecationTime: String, val description: String, val enaSupport: Boolean, val executableUsers: List<String>? = null, val filters: List<GetAmiFilter>? = null, val hypervisor: String, val id: String, val imageId: String, val imageLocation: String, val imageOwnerAlias: String, val imageType: String, val imdsSupport: String, val includeDeprecated: Boolean? = null, val kernelId: String, val mostRecent: Boolean? = null, val name: String, val nameRegex: String? = null, val ownerId: String, val owners: List<String>? = null, val platform: String, val platformDetails: String, val productCodes: List<GetAmiProductCode>, val public: Boolean, val ramdiskId: String, val rootDeviceName: String, val rootDeviceType: String, val rootSnapshotId: String, val sriovNetSupport: String, val state: String, val stateReason: Map<String, String>, val tags: Map<String, String>, val tpmSupport: String, val usageOperation: String, val virtualizationType: String)

A collection of values returned by getAmi.

Constructors

Link copied to clipboard
constructor(architecture: String, arn: String, blockDeviceMappings: List<GetAmiBlockDeviceMapping>, bootMode: String, creationDate: String, deprecationTime: String, description: String, enaSupport: Boolean, executableUsers: List<String>? = null, filters: List<GetAmiFilter>? = null, hypervisor: String, id: String, imageId: String, imageLocation: String, imageOwnerAlias: String, imageType: String, imdsSupport: String, includeDeprecated: Boolean? = null, kernelId: String, mostRecent: Boolean? = null, name: String, nameRegex: String? = null, ownerId: String, owners: List<String>? = null, platform: String, platformDetails: String, productCodes: List<GetAmiProductCode>, public: Boolean, ramdiskId: String, rootDeviceName: String, rootDeviceType: String, rootSnapshotId: String, sriovNetSupport: String, state: String, stateReason: Map<String, String>, tags: Map<String, String>, tpmSupport: String, usageOperation: String, virtualizationType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

OS architecture of the AMI (ie: i386 or x86_64).

Link copied to clipboard
val arn: String

ARN of the AMI.

Link copied to clipboard

Set of objects with block device mappings of the AMI.

Link copied to clipboard

Boot mode of the image.

Link copied to clipboard

Date and time the image was created.

Link copied to clipboard

Date and time when the image will be deprecated.

Link copied to clipboard

Description of the AMI that was provided during image creation.

Link copied to clipboard

Whether enhanced networking with ENA is enabled.

Link copied to clipboard
Link copied to clipboard
val filters: List<GetAmiFilter>? = null
Link copied to clipboard

Hypervisor type of the image.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

ID of the AMI. Should be the same as the resource id.

Link copied to clipboard

Location of the AMI.

Link copied to clipboard

AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.

Link copied to clipboard

Type of image.

Link copied to clipboard

Instance Metadata Service (IMDS) support mode for the image. Set to v2.0 if instances ran from this image enforce IMDSv2.

Link copied to clipboard
Link copied to clipboard

Kernel associated with the image, if any. Only applicable for machine images.

Link copied to clipboard
val mostRecent: Boolean? = null
Link copied to clipboard

Name of the AMI that was provided during image creation.

Link copied to clipboard
val nameRegex: String? = null
Link copied to clipboard

AWS account ID of the image owner.

Link copied to clipboard
val owners: List<String>? = null
Link copied to clipboard

Value is Windows for Windows AMIs; otherwise blank.

Link copied to clipboard

Platform details associated with the billing code of the AMI.

Link copied to clipboard

Any product codes associated with the AMI.

Link copied to clipboard

true if the image has public launch permissions.

Link copied to clipboard

RAM disk associated with the image, if any. Only applicable for machine images.

Link copied to clipboard

Device name of the root device.

Link copied to clipboard

Type of root device (ie: ebs or instance-store).

Link copied to clipboard

Snapshot id associated with the root device, if any (only applies to ebs root devices).

Link copied to clipboard

Whether enhanced networking is enabled.

Link copied to clipboard

Current state of the AMI. If the state is available, the image is successfully registered and can be used to launch an instance.

Link copied to clipboard

Describes a state change. Fields are UNSET if not available.

Link copied to clipboard

Any tags assigned to the image.

Link copied to clipboard

If the image is configured for NitroTPM support, the value is v2.0.

Link copied to clipboard

Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.

Link copied to clipboard

Type of virtualization of the AMI (ie: hvm or paravirtual).