Class AmiState


  • public final class AmiState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AmiState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static AmiState Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated 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>> arn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> bootMode()  
      static AmiState.Builder builder()  
      static AmiState.Builder builder​(AmiState 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>> hypervisor()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageLocation()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageOwnerAlias()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageType()  
      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.Boolean>> manageEbsSnapshots()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> platform()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformDetails()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> public_()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> ramdiskId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> rootDeviceName()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> rootSnapshotId()  
      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.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
      Deprecated.
      Please use `tags` instead.
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> tpmSupport()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> usageOperation()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> virtualizationType()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Empty

        public static final AmiState Empty
    • Method Detail

      • architecture

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> architecture()
        Returns:
        Machine architecture for created instances. Defaults to "x86_64".
      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the AMI.
      • 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 Amazon Elastic Compute Cloud 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.
      • hypervisor

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> hypervisor()
        Returns:
        Hypervisor type of the image.
      • imageLocation

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageLocation()
      • imageOwnerAlias

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageOwnerAlias()
        Returns:
        AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
      • imageType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageType()
        Returns:
        Type of image.
      • 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()
      • manageEbsSnapshots

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> manageEbsSnapshots()
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Region-unique name for the AMI.
      • ownerId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ownerId()
        Returns:
        AWS account ID of the image owner.
      • platform

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platform()
        Returns:
        This value is set to windows for Windows AMIs; otherwise, it is blank.
      • platformDetails

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> platformDetails()
        Returns:
        Platform details associated with the billing code of the AMI.
      • public_

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> public_()
        Returns:
        Whether the image has public launch permissions.
      • ramdiskId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ramdiskId()
      • 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`).
      • rootSnapshotId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> rootSnapshotId()
        Returns:
        Snapshot ID for the root volume (for EBS-backed AMIs)
      • 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Deprecated.
        Please use `tags` instead.
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
      • 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 Amazon Elastic Compute Cloud User Guide.
      • usageOperation

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> usageOperation()
        Returns:
        Operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
      • 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.