Class AmiFromInstanceArgs


  • public final class AmiFromInstanceArgs
    extends com.pulumi.resources.ResourceArgs
    • 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.
      • ebsBlockDevices

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AmiFromInstanceEbsBlockDeviceArgs>>> ebsBlockDevices()
        Returns:
        Nested block describing an EBS block device that should be attached to created instances. The structure of this block is described below.
      • ephemeralBlockDevices

        public java.util.Optional<com.pulumi.core.Output<java.util.List<AmiFromInstanceEphemeralBlockDeviceArgs>>> ephemeralBlockDevices()
        Returns:
        Nested block describing an ephemeral block device that should be attached to created instances. The structure of this block is described below.
      • name

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> snapshotWithoutReboot()
        Returns:
        Boolean that overrides the behavior of stopping the instance before snapshotting. This is risky since it may cause a snapshot of an inconsistent filesystem state, but can be used to avoid downtime if the user otherwise guarantees that no filesystem writes will be underway at the time of snapshot.
      • sourceInstanceId

        public com.pulumi.core.Output<java.lang.String> sourceInstanceId()
        Returns:
        ID of the instance to use as the basis of the AMI.
      • 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.