Package com.pulumi.aws.ec2.outputs
Class GetAmiResult
- java.lang.Object
-
- com.pulumi.aws.ec2.outputs.GetAmiResult
-
public final class GetAmiResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetAmiResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
architecture()
java.lang.String
arn()
java.util.List<GetAmiBlockDeviceMapping>
blockDeviceMappings()
java.lang.String
bootMode()
static GetAmiResult.Builder
builder()
static GetAmiResult.Builder
builder(GetAmiResult defaults)
java.lang.String
creationDate()
java.lang.String
deprecationTime()
java.lang.String
description()
java.lang.Boolean
enaSupport()
java.util.List<java.lang.String>
executableUsers()
java.util.List<GetAmiFilter>
filters()
java.lang.String
hypervisor()
java.lang.String
id()
java.lang.String
imageId()
java.lang.String
imageLocation()
java.lang.String
imageOwnerAlias()
java.lang.String
imageType()
java.lang.String
imdsSupport()
java.util.Optional<java.lang.Boolean>
includeDeprecated()
java.lang.String
kernelId()
java.util.Optional<java.lang.Boolean>
mostRecent()
java.lang.String
name()
java.util.Optional<java.lang.String>
nameRegex()
java.lang.String
ownerId()
java.util.List<java.lang.String>
owners()
java.lang.String
platform()
java.lang.String
platformDetails()
java.util.List<GetAmiProductCode>
productCodes()
java.lang.Boolean
public_()
java.lang.String
ramdiskId()
java.lang.String
rootDeviceName()
java.lang.String
rootDeviceType()
java.lang.String
rootSnapshotId()
java.lang.String
sriovNetSupport()
java.lang.String
state()
java.util.Map<java.lang.String,java.lang.String>
stateReason()
java.util.Map<java.lang.String,java.lang.String>
tags()
java.lang.String
tpmSupport()
java.lang.String
usageOperation()
java.lang.String
virtualizationType()
-
-
-
Method Detail
-
architecture
public java.lang.String architecture()
- Returns:
- OS architecture of the AMI (ie: `i386` or `x86_64`).
-
arn
public java.lang.String arn()
- Returns:
- ARN of the AMI.
-
blockDeviceMappings
public java.util.List<GetAmiBlockDeviceMapping> blockDeviceMappings()
- Returns:
- Set of objects with block device mappings of the AMI.
-
bootMode
public java.lang.String bootMode()
- Returns:
- Boot mode of the image.
-
creationDate
public java.lang.String creationDate()
- Returns:
- Date and time the image was created.
-
deprecationTime
public java.lang.String deprecationTime()
- Returns:
- Date and time when the image will be deprecated.
-
description
public java.lang.String description()
- Returns:
- Description of the AMI that was provided during image creation.
-
enaSupport
public java.lang.Boolean enaSupport()
- Returns:
- Whether enhanced networking with ENA is enabled.
-
executableUsers
public java.util.List<java.lang.String> executableUsers()
-
filters
public java.util.List<GetAmiFilter> filters()
-
hypervisor
public java.lang.String hypervisor()
- Returns:
- Hypervisor type of the image.
-
id
public java.lang.String id()
- Returns:
- The provider-assigned unique ID for this managed resource.
-
imageId
public java.lang.String imageId()
- Returns:
- ID of the AMI. Should be the same as the resource `id`.
-
imageLocation
public java.lang.String imageLocation()
- Returns:
- Location of the AMI.
-
imageOwnerAlias
public java.lang.String imageOwnerAlias()
- Returns:
- AWS account alias (for example, `amazon`, `self`) or the AWS account ID of the AMI owner.
-
imageType
public java.lang.String imageType()
- Returns:
- Type of image.
-
imdsSupport
public java.lang.String imdsSupport()
- Returns:
- Instance Metadata Service (IMDS) support mode for the image. Set to `v2.0` if instances ran from this image enforce IMDSv2.
-
includeDeprecated
public java.util.Optional<java.lang.Boolean> includeDeprecated()
-
kernelId
public java.lang.String kernelId()
- Returns:
- Kernel associated with the image, if any. Only applicable for machine images.
-
mostRecent
public java.util.Optional<java.lang.Boolean> mostRecent()
-
name
public java.lang.String name()
- Returns:
- Name of the AMI that was provided during image creation.
-
nameRegex
public java.util.Optional<java.lang.String> nameRegex()
-
ownerId
public java.lang.String ownerId()
- Returns:
- AWS account ID of the image owner.
-
owners
public java.util.List<java.lang.String> owners()
-
platform
public java.lang.String platform()
- Returns:
- Value is Windows for `Windows` AMIs; otherwise blank.
-
platformDetails
public java.lang.String platformDetails()
- Returns:
- Platform details associated with the billing code of the AMI.
-
productCodes
public java.util.List<GetAmiProductCode> productCodes()
- Returns:
- Any product codes associated with the AMI. * `product_codes.#.product_code_id` - The product code. * `product_codes.#.product_code_type` - The type of product code.
-
public_
public java.lang.Boolean public_()
- Returns:
- `true` if the image has public launch permissions.
-
ramdiskId
public java.lang.String ramdiskId()
- Returns:
- RAM disk associated with the image, if any. Only applicable for machine images.
-
rootDeviceName
public java.lang.String rootDeviceName()
- Returns:
- Device name of the root device.
-
rootDeviceType
public java.lang.String rootDeviceType()
- Returns:
- Type of root device (ie: `ebs` or `instance-store`).
-
rootSnapshotId
public java.lang.String rootSnapshotId()
- Returns:
- Snapshot id associated with the root device, if any (only applies to `ebs` root devices).
-
sriovNetSupport
public java.lang.String sriovNetSupport()
- Returns:
- Whether enhanced networking is enabled.
-
state
public java.lang.String state()
- Returns:
- Current state of the AMI. If the state is `available`, the image is successfully registered and can be used to launch an instance.
-
stateReason
public java.util.Map<java.lang.String,java.lang.String> stateReason()
- Returns:
- Describes a state change. Fields are `UNSET` if not available.
-
tags
public java.util.Map<java.lang.String,java.lang.String> tags()
- Returns:
- Any tags assigned to the image. * `tags.#.key` - Key name of the tag. * `tags.#.value` - Value of the tag.
-
tpmSupport
public java.lang.String tpmSupport()
- Returns:
- If the image is configured for NitroTPM support, the value is `v2.0`.
-
usageOperation
public java.lang.String usageOperation()
- Returns:
- Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
-
virtualizationType
public java.lang.String virtualizationType()
- Returns:
- Type of virtualization of the AMI (ie: `hvm` or `paravirtual`).
-
builder
public static GetAmiResult.Builder builder()
-
builder
public static GetAmiResult.Builder builder(GetAmiResult defaults)
-
-