Class AmiCopyState.Builder

  • Enclosing class:
    AmiCopyState

    public static final class AmiCopyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • architecture

        public AmiCopyState.Builder architecture​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> architecture)
        Parameters:
        architecture - Machine architecture for created instances. Defaults to `x8664`.
        Returns:
        builder
      • architecture

        public AmiCopyState.Builder architecture​(java.lang.String architecture)
        Parameters:
        architecture - Machine architecture for created instances. Defaults to `x8664`.
        Returns:
        builder
      • arn

        public AmiCopyState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the AMI.
        Returns:
        builder
      • arn

        public AmiCopyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the AMI.
        Returns:
        builder
      • bootMode

        public AmiCopyState.Builder bootMode​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> bootMode)
        Parameters:
        bootMode - 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.
        Returns:
        builder
      • bootMode

        public AmiCopyState.Builder bootMode​(java.lang.String bootMode)
        Parameters:
        bootMode - 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.
        Returns:
        builder
      • deprecationTime

        public AmiCopyState.Builder deprecationTime​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> deprecationTime)
        Parameters:
        deprecationTime - 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`)
        Returns:
        builder
      • deprecationTime

        public AmiCopyState.Builder deprecationTime​(java.lang.String deprecationTime)
        Parameters:
        deprecationTime - 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`)
        Returns:
        builder
      • description

        public AmiCopyState.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Longer, human-readable description for the AMI.
        Returns:
        builder
      • description

        public AmiCopyState.Builder description​(java.lang.String description)
        Parameters:
        description - Longer, human-readable description for the AMI.
        Returns:
        builder
      • destinationOutpostArn

        public AmiCopyState.Builder destinationOutpostArn​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> destinationOutpostArn)
        Parameters:
        destinationOutpostArn - 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.
        Returns:
        builder
      • destinationOutpostArn

        public AmiCopyState.Builder destinationOutpostArn​(java.lang.String destinationOutpostArn)
        Parameters:
        destinationOutpostArn - 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.
        Returns:
        builder
      • ebsBlockDevices

        public AmiCopyState.Builder ebsBlockDevices​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<AmiCopyEbsBlockDeviceArgs>> ebsBlockDevices)
        Parameters:
        ebsBlockDevices - Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
        Returns:
        builder
      • ebsBlockDevices

        public AmiCopyState.Builder ebsBlockDevices​(java.util.List<AmiCopyEbsBlockDeviceArgs> ebsBlockDevices)
        Parameters:
        ebsBlockDevices - Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
        Returns:
        builder
      • ebsBlockDevices

        public AmiCopyState.Builder ebsBlockDevices​(AmiCopyEbsBlockDeviceArgs... ebsBlockDevices)
        Parameters:
        ebsBlockDevices - Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
        Returns:
        builder
      • enaSupport

        public AmiCopyState.Builder enaSupport​(@Nullable
                                               com.pulumi.core.Output<java.lang.Boolean> enaSupport)
        Parameters:
        enaSupport - Whether enhanced networking with ENA is enabled. Defaults to `false`.
        Returns:
        builder
      • enaSupport

        public AmiCopyState.Builder enaSupport​(java.lang.Boolean enaSupport)
        Parameters:
        enaSupport - Whether enhanced networking with ENA is enabled. Defaults to `false`.
        Returns:
        builder
      • encrypted

        public AmiCopyState.Builder encrypted​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> encrypted)
        Parameters:
        encrypted - Whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
        Returns:
        builder
      • encrypted

        public AmiCopyState.Builder encrypted​(java.lang.Boolean encrypted)
        Parameters:
        encrypted - Whether the destination snapshots of the copied image should be encrypted. Defaults to `false`
        Returns:
        builder
      • ephemeralBlockDevices

        public AmiCopyState.Builder ephemeralBlockDevices​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<AmiCopyEphemeralBlockDeviceArgs>> ephemeralBlockDevices)
        Parameters:
        ephemeralBlockDevices - Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
        Returns:
        builder
      • ephemeralBlockDevices

        public AmiCopyState.Builder ephemeralBlockDevices​(java.util.List<AmiCopyEphemeralBlockDeviceArgs> ephemeralBlockDevices)
        Parameters:
        ephemeralBlockDevices - Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
        Returns:
        builder
      • ephemeralBlockDevices

        public AmiCopyState.Builder ephemeralBlockDevices​(AmiCopyEphemeralBlockDeviceArgs... ephemeralBlockDevices)
        Parameters:
        ephemeralBlockDevices - Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
        Returns:
        builder
      • hypervisor

        public AmiCopyState.Builder hypervisor​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> hypervisor)
      • imageLocation

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

        public AmiCopyState.Builder imageLocation​(java.lang.String imageLocation)
        Parameters:
        imageLocation - Path to an S3 object containing an image manifest, e.g., created by the `ec2-upload-bundle` command in the EC2 command line tools.
        Returns:
        builder
      • imageOwnerAlias

        public AmiCopyState.Builder imageOwnerAlias​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> imageOwnerAlias)
      • imageOwnerAlias

        public AmiCopyState.Builder imageOwnerAlias​(java.lang.String imageOwnerAlias)
      • imageType

        public AmiCopyState.Builder imageType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> imageType)
      • imdsSupport

        public AmiCopyState.Builder imdsSupport​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> imdsSupport)
        Parameters:
        imdsSupport - 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).
        Returns:
        builder
      • imdsSupport

        public AmiCopyState.Builder imdsSupport​(java.lang.String imdsSupport)
        Parameters:
        imdsSupport - 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).
        Returns:
        builder
      • kernelId

        public AmiCopyState.Builder kernelId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> kernelId)
        Parameters:
        kernelId - ID of the kernel image (AKI) that will be used as the paravirtual kernel in created instances.
        Returns:
        builder
      • kernelId

        public AmiCopyState.Builder kernelId​(java.lang.String kernelId)
        Parameters:
        kernelId - ID of the kernel image (AKI) that will be used as the paravirtual kernel in created instances.
        Returns:
        builder
      • kmsKeyId

        public AmiCopyState.Builder kmsKeyId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - 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
        Returns:
        builder
      • kmsKeyId

        public AmiCopyState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - 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
        Returns:
        builder
      • lastLaunchedTime

        public AmiCopyState.Builder lastLaunchedTime​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> lastLaunchedTime)
      • lastLaunchedTime

        public AmiCopyState.Builder lastLaunchedTime​(java.lang.String lastLaunchedTime)
      • manageEbsSnapshots

        public AmiCopyState.Builder manageEbsSnapshots​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> manageEbsSnapshots)
      • manageEbsSnapshots

        public AmiCopyState.Builder manageEbsSnapshots​(java.lang.Boolean manageEbsSnapshots)
      • name

        public AmiCopyState.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Region-unique name for the AMI.
        Returns:
        builder
      • name

        public AmiCopyState.Builder name​(java.lang.String name)
        Parameters:
        name - Region-unique name for the AMI.
        Returns:
        builder
      • ownerId

        public AmiCopyState.Builder ownerId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> ownerId)
      • platform

        public AmiCopyState.Builder platform​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> platform)
      • platformDetails

        public AmiCopyState.Builder platformDetails​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> platformDetails)
      • platformDetails

        public AmiCopyState.Builder platformDetails​(java.lang.String platformDetails)
      • public_

        public AmiCopyState.Builder public_​(@Nullable
                                            com.pulumi.core.Output<java.lang.Boolean> public_)
      • ramdiskId

        public AmiCopyState.Builder ramdiskId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> ramdiskId)
        Parameters:
        ramdiskId - ID of an initrd image (ARI) that will be used when booting the created instances.
        Returns:
        builder
      • ramdiskId

        public AmiCopyState.Builder ramdiskId​(java.lang.String ramdiskId)
        Parameters:
        ramdiskId - ID of an initrd image (ARI) that will be used when booting the created instances.
        Returns:
        builder
      • region

        public AmiCopyState.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public AmiCopyState.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder
      • rootDeviceName

        public AmiCopyState.Builder rootDeviceName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> rootDeviceName)
        Parameters:
        rootDeviceName - Name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
        Returns:
        builder
      • rootDeviceName

        public AmiCopyState.Builder rootDeviceName​(java.lang.String rootDeviceName)
        Parameters:
        rootDeviceName - Name of the root device (for example, `/dev/sda1`, or `/dev/xvda`).
        Returns:
        builder
      • rootSnapshotId

        public AmiCopyState.Builder rootSnapshotId​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> rootSnapshotId)
      • sourceAmiId

        public AmiCopyState.Builder sourceAmiId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> sourceAmiId)
        Parameters:
        sourceAmiId - ID of the AMI to copy. This ID must be valid in the region given by `sourceAmiRegion`.
        Returns:
        builder
      • sourceAmiId

        public AmiCopyState.Builder sourceAmiId​(java.lang.String sourceAmiId)
        Parameters:
        sourceAmiId - ID of the AMI to copy. This ID must be valid in the region given by `sourceAmiRegion`.
        Returns:
        builder
      • sourceAmiRegion

        public AmiCopyState.Builder sourceAmiRegion​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> sourceAmiRegion)
        Parameters:
        sourceAmiRegion - 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.
        Returns:
        builder
      • sourceAmiRegion

        public AmiCopyState.Builder sourceAmiRegion​(java.lang.String sourceAmiRegion)
        Parameters:
        sourceAmiRegion - 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.
        Returns:
        builder
      • sriovNetSupport

        public AmiCopyState.Builder sriovNetSupport​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> sriovNetSupport)
        Parameters:
        sriovNetSupport - When set to "simple" (the default), enables enhanced networking for created instances. No other value is supported at this time.
        Returns:
        builder
      • sriovNetSupport

        public AmiCopyState.Builder sriovNetSupport​(java.lang.String sriovNetSupport)
        Parameters:
        sriovNetSupport - When set to "simple" (the default), enables enhanced networking for created instances. No other value is supported at this time.
        Returns:
        builder
      • tags

        public AmiCopyState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • tags

        public AmiCopyState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • tagsAll

        public AmiCopyState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
      • tagsAll

        public AmiCopyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
      • tpmSupport

        public AmiCopyState.Builder tpmSupport​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> tpmSupport)
        Parameters:
        tpmSupport - 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.
        Returns:
        builder
      • tpmSupport

        public AmiCopyState.Builder tpmSupport​(java.lang.String tpmSupport)
        Parameters:
        tpmSupport - 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.
        Returns:
        builder
      • uefiData

        public AmiCopyState.Builder uefiData​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> uefiData)
        Parameters:
        uefiData - Base64 representation of the non-volatile UEFI variable store.
        Returns:
        builder
      • uefiData

        public AmiCopyState.Builder uefiData​(java.lang.String uefiData)
        Parameters:
        uefiData - Base64 representation of the non-volatile UEFI variable store.
        Returns:
        builder
      • usageOperation

        public AmiCopyState.Builder usageOperation​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> usageOperation)
      • virtualizationType

        public AmiCopyState.Builder virtualizationType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> virtualizationType)
        Parameters:
        virtualizationType - 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.
        Returns:
        builder
      • virtualizationType

        public AmiCopyState.Builder virtualizationType​(java.lang.String virtualizationType)
        Parameters:
        virtualizationType - 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.
        Returns:
        builder