Class CfnLoadBalancer.SubnetMappingProperty
Specifies a subnet for a load balancer.
Inheritance
System.Object
CfnLoadBalancer.SubnetMappingProperty
Implements
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class SubnetMappingProperty : Object, CfnLoadBalancer.ISubnetMappingProperty
Syntax (vb)
Public Class SubnetMappingProperty
Inherits Object
Implements CfnLoadBalancer.ISubnetMappingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
var subnetMappingProperty = new SubnetMappingProperty {
SubnetId = "subnetId",
// the properties below are optional
AllocationId = "allocationId",
IPv6Address = "iPv6Address",
PrivateIPv4Address = "privateIPv4Address"
};
Synopsis
Constructors
SubnetMappingProperty() |
Properties
AllocationId | [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer. |
IPv6Address | [Network Load Balancers] The IPv6 address. |
PrivateIPv4Address | [Network Load Balancers] The private IPv4 address for an internal load balancer. |
SubnetId | The ID of the subnet. |
Constructors
SubnetMappingProperty()
public SubnetMappingProperty()
Properties
AllocationId
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
public string AllocationId { get; set; }
Property Value
System.String
Remarks
IPv6Address
[Network Load Balancers] The IPv6 address.
public string IPv6Address { get; set; }
Property Value
System.String
Remarks
PrivateIPv4Address
[Network Load Balancers] The private IPv4 address for an internal load balancer.
public string PrivateIPv4Address { get; set; }
Property Value
System.String
Remarks
SubnetId
The ID of the subnet.
public string SubnetId { get; set; }
Property Value
System.String