Class SubnetArgs
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 SubnetArgs : ResourceArgs
Constructors
View SourceSubnetArgs()
Declaration
public SubnetArgs()
Properties
View SourceAssignIpv6AddressOnCreation
Specify true to indicate
that network interfaces created in the specified subnet should be
assigned an IPv6 address. Default is false
Declaration
public Input<bool> AssignIpv6AddressOnCreation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AvailabilityZone
The AZ for the subnet.
Declaration
public Input<string> AvailabilityZone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AvailabilityZoneId
The AZ ID of the subnet.
Declaration
public Input<string> AvailabilityZoneId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CidrBlock
The CIDR block for the subnet.
Declaration
public Input<string> CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ipv6CidrBlock
The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
Declaration
public Input<string> Ipv6CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MapPublicIpOnLaunch
Specify true to indicate
that instances launched into the subnet should be assigned
a public IP address. Default is false.
Declaration
public Input<bool> MapPublicIpOnLaunch { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
OutpostArn
The Amazon Resource Name (ARN) of the Outpost.
Declaration
public Input<string> OutpostArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VpcId
The VPC ID.
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |