Class RawEndpointProps
Properties for RawEndpoint.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.AWS.GlobalAccelerator.dll
Syntax (csharp)
public class RawEndpointProps : Object, IRawEndpointProps
Syntax (vb)
Public Class RawEndpointProps
Inherits Object
Implements IRawEndpointProps
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.GlobalAccelerator;
var rawEndpointProps = new RawEndpointProps {
EndpointId = "endpointId",
// the properties below are optional
PreserveClientIp = false,
Region = "region",
Weight = 123
};
Synopsis
Constructors
RawEndpointProps() |
Properties
EndpointId | Identifier of the endpoint. |
PreserveClientIp | Forward the client IP address. |
Region | The region where this endpoint is located. |
Weight | Endpoint weight across all endpoints in the group. |
Constructors
RawEndpointProps()
public RawEndpointProps()
Properties
EndpointId
Identifier of the endpoint.
public string EndpointId { get; set; }
Property Value
System.String
Remarks
Load balancer ARN, instance ID or EIP allocation ID.
PreserveClientIp
Forward the client IP address.
public Nullable<bool> PreserveClientIp { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address.
Only applies to Application Load Balancers and EC2 instances.
Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.
Default: true if possible and available
Region
The region where this endpoint is located.
public string Region { get; set; }
Property Value
System.String
Remarks
Default: - Unknown what region this endpoint is located
Weight
Endpoint weight across all endpoints in the group.
public Nullable<double> Weight { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Must be a value between 0 and 255.
Default: 128