Class GetSubnetArgs
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 GetSubnetArgs : InvokeArgs
Constructors
View SourceGetSubnetArgs()
Declaration
public GetSubnetArgs()
Properties
View SourceAvailabilityZone
The availability zone where the subnet must reside.
Declaration
public string AvailabilityZone { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
AvailabilityZoneId
The ID of the Availability Zone for the subnet.
Declaration
public string AvailabilityZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CidrBlock
The cidr block of the desired subnet.
Declaration
public string CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DefaultForAz
Boolean constraint for whether the desired subnet must be the default subnet for its associated availability zone.
Declaration
public bool? DefaultForAz { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Filters
Custom filter block as described below.
Declaration
public List<GetSubnetFilterArgs> Filters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GetSubnetFilterArgs> |
Id
The id of the specific subnet to retrieve.
Declaration
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Ipv6CidrBlock
The Ipv6 cidr block of the desired subnet
Declaration
public string Ipv6CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
State
The state that the desired subnet must have.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Tags
A map of tags, each pair of which must exactly match a pair on the desired subnet.
Declaration
public Dictionary<string, object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
VpcId
The id of the VPC that the desired subnet belongs to.
Declaration
public string VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |