Class AmiCopyArgs


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

      Nested Classes 
      Modifier and Type Class Description
      static class  AmiCopyArgs.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 AmiCopyArgs Empty  
    • Method Detail

      • 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.
      • 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.
      • 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
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Region-unique name for the AMI.
      • 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.
      • sourceAmiId

        public 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 `sourceAmiRegion`.
      • sourceAmiRegion

        public 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.
      • 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.