Package com.pulumi.aws.ec2transitgateway
Class InstanceStateArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ec2transitgateway.InstanceStateArgs
-
public final class InstanceStateArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceStateArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static InstanceStateArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceStateArgs.Builder
builder()
static InstanceStateArgs.Builder
builder(InstanceStateArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
force()
com.pulumi.core.Output<java.lang.String>
instanceId()
com.pulumi.core.Output<java.lang.String>
state()
-
-
-
Field Detail
-
Empty
public static final InstanceStateArgs Empty
-
-
Method Detail
-
force
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> force()
- Returns:
- Whether to request a forced stop when `state` is `stopped`. Otherwise (_i.e._, `state` is `running`), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to `false`.
-
instanceId
public com.pulumi.core.Output<java.lang.String> instanceId()
- Returns:
- ID of the instance.
-
state
public com.pulumi.core.Output<java.lang.String> state()
- Returns:
- State of the instance. Valid values are `stopped`, `running`. The following arguments are optional:
-
builder
public static InstanceStateArgs.Builder builder()
-
builder
public static InstanceStateArgs.Builder builder(InstanceStateArgs defaults)
-
-