Package com.pulumi.aws.ec2.inputs
Class GetInstancePlainArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.InvokeArgs
-
- com.pulumi.aws.ec2.inputs.GetInstancePlainArgs
-
public final class GetInstancePlainArgs extends com.pulumi.resources.InvokeArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetInstancePlainArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static GetInstancePlainArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInstancePlainArgs.Builderbuilder()static GetInstancePlainArgs.Builderbuilder(GetInstancePlainArgs defaults)java.util.Optional<java.util.List<GetInstanceFilter>>filters()java.util.Optional<java.lang.Boolean>getPasswordData()java.util.Optional<java.lang.Boolean>getUserData()java.util.Optional<java.lang.String>instanceId()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>instanceTags()java.util.Optional<java.lang.String>region()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>tags()
-
-
-
Field Detail
-
Empty
public static final GetInstancePlainArgs Empty
-
-
Method Detail
-
filters
public java.util.Optional<java.util.List<GetInstanceFilter>> 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.
-
getPasswordData
public java.util.Optional<java.lang.Boolean> getPasswordData()
- Returns:
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the `passwordData` attribute. See [GetPasswordData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetPasswordData.html) for more information.
-
getUserData
public java.util.Optional<java.lang.Boolean> getUserData()
- Returns:
- Retrieve Base64 encoded User Data contents into the `userDataBase64` attribute. A SHA-1 hash of the User Data contents will always be present in the `userData` attribute. Defaults to `false`. > **NOTE:** At least one of `filter`, `instanceTags`, or `instanceId` must be specified. > **NOTE:** If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only.
-
instanceId
public java.util.Optional<java.lang.String> instanceId()
- Returns:
- Specify the exact Instance ID with which to populate the data source.
-
instanceTags
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> instanceTags()
- Returns:
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
-
region
public java.util.Optional<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.
-
tags
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> tags()
- Returns:
- Map of tags assigned to the Instance.
-
builder
public static GetInstancePlainArgs.Builder builder()
-
builder
public static GetInstancePlainArgs.Builder builder(GetInstancePlainArgs defaults)
-
-