Show / Hide Table of Contents

Class GetSubnetArgs

Inheritance
System.Object
InputArgs
InvokeArgs
GetSubnetArgs
Inherited Members
InvokeArgs.Empty
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 Source

GetSubnetArgs()

Declaration
public GetSubnetArgs()

Properties

View Source

AvailabilityZone

The availability zone where the subnet must reside.

Declaration
public string AvailabilityZone { get; set; }
Property Value
Type Description
System.String
View Source

AvailabilityZoneId

The ID of the Availability Zone for the subnet.

Declaration
public string AvailabilityZoneId { get; set; }
Property Value
Type Description
System.String
View Source

CidrBlock

The cidr block of the desired subnet.

Declaration
public string CidrBlock { get; set; }
Property Value
Type Description
System.String
View Source

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>
View Source

Filters

Custom filter block as described below.

Declaration
public List<GetSubnetFilterArgs> Filters { get; set; }
Property Value
Type Description
System.Collections.Generic.List<GetSubnetFilterArgs>
View Source

Id

The id of the specific subnet to retrieve.

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String
View Source

Ipv6CidrBlock

The Ipv6 cidr block of the desired subnet

Declaration
public string Ipv6CidrBlock { get; set; }
Property Value
Type Description
System.String
View Source

State

The state that the desired subnet must have.

Declaration
public string State { get; set; }
Property Value
Type Description
System.String
View Source

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>
View Source

VpcId

The id of the VPC that the desired subnet belongs to.

Declaration
public string VpcId { get; set; }
Property Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.