Package com.pulumi.aws.ec2
Class AmiArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ec2.AmiArgs
-
public final class AmiArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAmiArgs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>architecture()java.util.Optional<com.pulumi.core.Output<java.lang.String>>bootMode()static AmiArgs.Builderbuilder()static AmiArgs.Builderbuilder(AmiArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>deprecationTime()java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<java.util.List<AmiEbsBlockDeviceArgs>>>ebsBlockDevices()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>enaSupport()java.util.Optional<com.pulumi.core.Output<java.util.List<AmiEphemeralBlockDeviceArgs>>>ephemeralBlockDevices()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imageLocation()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imdsSupport()java.util.Optional<com.pulumi.core.Output<java.lang.String>>kernelId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>ramdiskId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>rootDeviceName()java.util.Optional<com.pulumi.core.Output<java.lang.String>>sriovNetSupport()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>tpmSupport()java.util.Optional<com.pulumi.core.Output<java.lang.String>>uefiData()java.util.Optional<com.pulumi.core.Output<java.lang.String>>virtualizationType()
-
-
-
Field Detail
-
Empty
public static final AmiArgs Empty
-
-
Method Detail
-
architecture
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> architecture()
- Returns:
- Machine architecture for created instances. Defaults to `x8664`.
-
bootMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bootMode()
- Returns:
- Boot mode of the AMI. For more information, see [Boot modes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in the EC2 User Guide.
-
deprecationTime
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deprecationTime()
- Returns:
- Date and time to deprecate the AMI. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`)
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Longer, human-readable description for the AMI.
-
ebsBlockDevices
public java.util.Optional<com.pulumi.core.Output<java.util.List<AmiEbsBlockDeviceArgs>>> ebsBlockDevices()
- Returns:
- Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
-
enaSupport
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enaSupport()
- Returns:
- Whether enhanced networking with ENA is enabled. Defaults to `false`.
-
ephemeralBlockDevices
public java.util.Optional<com.pulumi.core.Output<java.util.List<AmiEphemeralBlockDeviceArgs>>> ephemeralBlockDevices()
- Returns:
- Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
-
imageLocation
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageLocation()
-
imdsSupport
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imdsSupport()
- Returns:
- If EC2 instances started from this image should require the use of the Instance Metadata Service V2 (IMDSv2), set this argument to `v2.0`. For more information, see [Configure instance metadata options for new instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration).
-
kernelId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kernelId()
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Region-unique name for the AMI.
-
ramdiskId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ramdiskId()
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
rootDeviceName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> rootDeviceName()
- Returns:
- Name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
-
sriovNetSupport
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sriovNetSupport()
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tpmSupport
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> tpmSupport()
- Returns:
- If the image is configured for NitroTPM support, the value is `v2.0`. For more information, see [NitroTPM](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html) in the EC2 User Guide.
-
uefiData
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> uefiData()
- Returns:
- Base64 representation of the non-volatile UEFI variable store.
-
virtualizationType
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> virtualizationType()
- Returns:
- Keyword to choose what virtualization mode created instances will use. Can be either "paravirtual" (the default) or "hvm". The choice of virtualization type changes the set of further arguments that are required, as described below.
-
builder
public static AmiArgs.Builder builder()
-
builder
public static AmiArgs.Builder builder(AmiArgs defaults)
-
-