Interface CfnLoadBalancer.ISubnetMappingProperty
Specifies a subnet for a load balancer.
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubnetMappingProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AllocationId
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
virtual string AllocationId { get; }
Property Value
System.String
Remarks
IPv6Address
[Network Load Balancers] The IPv6 address.
virtual string IPv6Address { get; }
Property Value
System.String
Remarks
PrivateIPv4Address
[Network Load Balancers] The private IPv4 address for an internal load balancer.
virtual string PrivateIPv4Address { get; }
Property Value
System.String
Remarks
SubnetId
The ID of the subnet.
string SubnetId { get; }
Property Value
System.String