RawEndpoint(*, endpoint_id, preserve_client_ip=None, region=None, weight=None)¶
Untyped endpoint implementation.
Prefer using the classes in the
aws-globalaccelerator-endpointspackage instead, as they accept typed constructs. You can use this class if you want to use an endpoint type that does not have an appropriate class in that package yet.
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_globalaccelerator as globalaccelerator raw_endpoint = globalaccelerator.RawEndpoint( endpoint_id="endpointId", # the properties below are optional preserve_client_ip=False, region="region", weight=123 )
str) – Identifier of the endpoint. Load balancer ARN, instance ID or EIP allocation ID.
bool]) – Forward the client IP address. 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
str]) – The region where this endpoint is located. Default: - Unknown what region this endpoint is located
None]) – Endpoint weight across all endpoints in the group. Must be a value between 0 and 255. Default: 128
Render the endpoint to an endpoint configuration.
- Return type
The region where the endpoint is located.
If the region cannot be determined,
- Return type