Class GetInstancesArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetInstancesArgs : InvokeArgs
Constructors
View SourceGetInstancesArgs()
Declaration
public GetInstancesArgs()
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<GetInstancesFilterArgs> Filters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GetInstancesFilterArgs> |
InstanceStateNames
A 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.
Declaration
public List<string> InstanceStateNames { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> |
InstanceTags
A map of tags, each pair of which must exactly match a pair on desired instances.
Declaration
public Dictionary<string, object> InstanceTags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> |