Package com.pulumi.aws.ec2
Class AmiFromInstanceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ec2.AmiFromInstanceArgs
-
public final class AmiFromInstanceArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AmiFromInstanceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static AmiFromInstanceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AmiFromInstanceArgs.Builder
builder()
static AmiFromInstanceArgs.Builder
builder(AmiFromInstanceArgs 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<AmiFromInstanceEbsBlockDeviceArgs>>>
ebsBlockDevices()
java.util.Optional<com.pulumi.core.Output<java.util.List<AmiFromInstanceEphemeralBlockDeviceArgs>>>
ephemeralBlockDevices()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
snapshotWithoutReboot()
com.pulumi.core.Output<java.lang.String>
sourceInstanceId()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
tags()
-
-
-
Field Detail
-
Empty
public static final AmiFromInstanceArgs 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.
-
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.
-
builder
public static AmiFromInstanceArgs.Builder builder()
-
builder
public static AmiFromInstanceArgs.Builder builder(AmiFromInstanceArgs defaults)
-
-