Show / Hide Table of Contents

Enum TargetGroupIpAddressType

The IP address type of targets registered with a target group.

Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum TargetGroupIpAddressType
Syntax (vb)
Public Enum TargetGroupIpAddressType
Remarks

ExampleMetadata: infused

Examples
Vpc vpc;


            var ipv4ApplicationTargetGroup = new ApplicationTargetGroup(this, "IPv4ApplicationTargetGroup", new ApplicationTargetGroupProps {
                Vpc = vpc,
                Port = 80,
                TargetType = TargetType.INSTANCE,
                IpAddressType = TargetGroupIpAddressType.IPV4
            });

            var ipv6ApplicationTargetGroup = new ApplicationTargetGroup(this, "Ipv6ApplicationTargetGroup", new ApplicationTargetGroupProps {
                Vpc = vpc,
                Port = 80,
                TargetType = TargetType.INSTANCE,
                IpAddressType = TargetGroupIpAddressType.IPV6
            });

            var ipv4NetworkTargetGroup = new NetworkTargetGroup(this, "IPv4NetworkTargetGroup", new NetworkTargetGroupProps {
                Vpc = vpc,
                Port = 80,
                TargetType = TargetType.INSTANCE,
                IpAddressType = TargetGroupIpAddressType.IPV4
            });

            var ipv6NetworkTargetGroup = new NetworkTargetGroup(this, "Ipv6NetworkTargetGroup", new NetworkTargetGroupProps {
                Vpc = vpc,
                Port = 80,
                TargetType = TargetType.INSTANCE,
                IpAddressType = TargetGroupIpAddressType.IPV6
            });

Synopsis

Fields

IPV4

IPv4 addresses.

IPV6

IPv6 addresses.

Fields

Name Description
IPV4

IPv4 addresses.

IPV6

IPv6 addresses.

Back to top Generated by DocFX