Class AmiCopyState


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

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

        com.pulumi.resources.InputArgs.InputArgsInternal
    • 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 AmiCopyState.Builder builder()  
      static AmiCopyState.Builder builder​(AmiCopyState 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.lang.String>> destinationOutpostArn()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<AmiCopyEbsBlockDeviceArgs>>> ebsBlockDevices()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enaSupport()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> encrypted()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<AmiCopyEphemeralBlockDeviceArgs>>> 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.String>> kmsKeyId()  
      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>> sourceAmiId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceAmiRegion()  
      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
    • 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.
      • destinationOutpostArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destinationOutpostArn()
        Returns:
        ARN of the Outpost to which to copy the AMI. Only specify this parameter when copying an AMI from an AWS Region to an Outpost. The AMI must be in the Region of the destination Outpost.
      • ebsBlockDevices

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AmiCopyEbsBlockDeviceArgs>>> 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`.
      • encrypted

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> encrypted()
        Returns:
        Whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
      • ephemeralBlockDevices

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AmiCopyEphemeralBlockDeviceArgs>>> 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()
      • imageLocation

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageLocation()
        Returns:
        Path to an S3 object containing an image manifest, e.g., created by the `ec2-upload-bundle` command in the EC2 command line tools.
      • imageOwnerAlias

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageType()
      • 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()
        Returns:
        ID of the kernel image (AKI) that will be used as the paravirtual kernel in created instances.
      • kmsKeyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyId()
        Returns:
        Full ARN of the KMS Key to use when encrypting the snapshots of an image during a copy operation. If not specified, then the default AWS KMS Key will be used
      • 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()
      • platform

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

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

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ramdiskId()
        Returns:
        ID of an initrd image (ARI) that will be used when booting the created instances.
      • 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()
      • sourceAmiId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceAmiId()
        Returns:
        Id of the AMI to copy. This id must be valid in the region given by `source_ami_region`.
      • sourceAmiRegion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceAmiRegion()
        Returns:
        Region from which the AMI will be copied. This may be the same as the AWS provider region in order to create a copy within the same region.
      • sriovNetSupport

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sriovNetSupport()
        Returns:
        When set to "simple" (the default), enables enhanced networking for created instances. No other value is supported at this time.
      • 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.
      • 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()
      • 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.