Package com.pulumi.aws.ec2.inputs
Class GetInstancesArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.InvokeArgs
-
- com.pulumi.aws.ec2.inputs.GetInstancesArgs
-
public final class GetInstancesArgs extends com.pulumi.resources.InvokeArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetInstancesArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static GetInstancesArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInstancesArgs.Builderbuilder()static GetInstancesArgs.Builderbuilder(GetInstancesArgs defaults)java.util.Optional<com.pulumi.core.Output<java.util.List<GetInstancesFilterArgs>>>filters()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>instanceStateNames()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>instanceTags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()
-
-
-
Field Detail
-
Empty
public static final GetInstancesArgs Empty
-
-
Method Detail
-
filters
public java.util.Optional<com.pulumi.core.Output<java.util.List<GetInstancesFilterArgs>>> filters()
- Returns:
- One or more filters to apply to the search. If multiple `filter` blocks are provided, they all must be true. For a full reference of filter names, see [describe-instances in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html). See `filter` Block below.
-
instanceStateNames
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> instanceStateNames()
- Returns:
- List of instance states that should be applicable to the desired instances. The permitted values are: `pending, running, shutting-down, stopped, stopping, terminated`. The default value is `running`.
-
instanceTags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> instanceTags()
- Returns:
- Map of tags, each pair of which must exactly match a pair on desired instances.
-
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.
-
builder
public static GetInstancesArgs.Builder builder()
-
builder
public static GetInstancesArgs.Builder builder(GetInstancesArgs defaults)
-
-