Class CfnEipEndpointProps
Properties for a NetworkLoadBalancerEndpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GlobalAccelerator.Endpoints
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEipEndpointProps : ICfnEipEndpointProps
Syntax (vb)
Public Class CfnEipEndpointProps Implements ICfnEipEndpointProps
Remarks
ExampleMetadata: infused
Examples
Listener listener;
CfnEIP eip;
listener.AddEndpointGroup("Group", new EndpointGroupOptions {
Endpoints = new [] {
new CfnEipEndpoint(eip, new CfnEipEndpointProps {
Weight = 128
}) }
});
Synopsis
Constructors
| CfnEipEndpointProps() | Properties for a NetworkLoadBalancerEndpoint. |
Properties
| Weight | Endpoint weight across all endpoints in the group. |
Constructors
CfnEipEndpointProps()
Properties for a NetworkLoadBalancerEndpoint.
public CfnEipEndpointProps()
Remarks
ExampleMetadata: infused
Examples
Listener listener;
CfnEIP eip;
listener.AddEndpointGroup("Group", new EndpointGroupOptions {
Endpoints = new [] {
new CfnEipEndpoint(eip, new CfnEipEndpointProps {
Weight = 128
}) }
});
Properties
Weight
Endpoint weight across all endpoints in the group.
public double? Weight { get; set; }
Property Value
Remarks
Must be a value between 0 and 255.
Default: 128