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 classGetAmiResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Boolean>allowUnsafeFilter()java.lang.Stringarchitecture()java.lang.Stringarn()java.util.List<GetAmiBlockDeviceMapping>blockDeviceMappings()java.lang.StringbootMode()static GetAmiResult.Builderbuilder()static GetAmiResult.Builderbuilder(GetAmiResult defaults)java.lang.StringcreationDate()java.lang.StringdeprecationTime()java.lang.Stringdescription()java.lang.BooleanenaSupport()java.util.List<java.lang.String>executableUsers()java.util.List<GetAmiFilter>filters()java.lang.Stringhypervisor()java.lang.Stringid()java.lang.StringimageId()java.lang.StringimageLocation()java.lang.StringimageOwnerAlias()java.lang.StringimageType()java.lang.StringimdsSupport()java.util.Optional<java.lang.Boolean>includeDeprecated()java.lang.StringkernelId()java.lang.StringlastLaunchedTime()java.util.Optional<java.lang.Boolean>mostRecent()java.lang.Stringname()java.util.Optional<java.lang.String>nameRegex()java.lang.StringownerId()java.util.List<java.lang.String>owners()java.lang.Stringplatform()java.lang.StringplatformDetails()java.util.List<GetAmiProductCode>productCodes()java.lang.Booleanpublic_()java.lang.StringramdiskId()java.lang.Stringregion()java.lang.StringrootDeviceName()java.lang.StringrootDeviceType()java.lang.StringrootSnapshotId()java.lang.StringsriovNetSupport()java.lang.Stringstate()java.util.Map<java.lang.String,java.lang.String>stateReason()java.util.Map<java.lang.String,java.lang.String>tags()java.lang.StringtpmSupport()java.util.Optional<java.lang.String>uefiData()java.lang.StringusageOperation()java.lang.StringvirtualizationType()
-
-
-
Method Detail
-
allowUnsafeFilter
public java.util.Optional<java.lang.Boolean> allowUnsafeFilter()
-
architecture
public java.lang.String architecture()
- Returns:
- OS architecture of the AMI (ie: `i386` or `x8664`).
-
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. See `blockDeviceMappings` below.
-
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.
-
lastLaunchedTime
public java.lang.String lastLaunchedTime()
- Returns:
- 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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-last-launched-time.html).
-
mostRecent
public java.util.Optional<java.lang.Boolean> mostRecent()
-
name
public java.lang.String name()
- Returns:
- Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html).
-
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. See `productCodes` below.
-
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.
-
region
public java.lang.String region()
-
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. See `stateReason` below.
-
tags
public java.util.Map<java.lang.String,java.lang.String> tags()
- Returns:
- Any tags assigned to the image.
-
tpmSupport
public java.lang.String tpmSupport()
- Returns:
- If the image is configured for NitroTPM support, the value is `v2.0`.
-
uefiData
public java.util.Optional<java.lang.String> uefiData()
-
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)
-
-