Class GetInstanceArgs
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetInstanceArgs : InvokeArgs
Constructors
View SourceGetInstanceArgs()
Declaration
public GetInstanceArgs()
Properties
View SourceFilters
One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
Declaration
public List<GetInstanceFilterArgs> Filters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GetInstanceFilterArgs> |
GetPasswordData
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 password_data attribute. See GetPasswordData for more information.
Declaration
public bool? GetPasswordData { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
GetUserData
Retrieve Base64 encoded User Data contents into the user_data_base64 attribute. A SHA-1 hash of the User Data contents will always be present in the user_data attribute. Defaults to false.
Declaration
public bool? GetUserData { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
InstanceId
Specify the exact Instance ID with which to populate the data source.
Declaration
public string InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
InstanceTags
A map of tags, each pair of which must exactly match a pair on the desired Instance.
Declaration
public Dictionary<string, object> InstanceTags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
Tags
A mapping of tags assigned to the Instance.
Declaration
public Dictionary<string, object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> |