aws-cdk-lib.aws_globalaccelerator.RawEndpoint

class RawEndpoint

LanguageType name
.NETAmazon.CDK.AWS.GlobalAccelerator.RawEndpoint
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglobalaccelerator#RawEndpoint
Javasoftware.amazon.awscdk.services.globalaccelerator.RawEndpoint
Pythonaws_cdk.aws_globalaccelerator.RawEndpoint
TypeScript (source)aws-cdk-lib » aws_globalaccelerator » RawEndpoint

Implements IEndpoint

Untyped endpoint implementation.

Prefer using the classes in the aws-globalaccelerator-endpoints package 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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_globalaccelerator as globalaccelerator } from 'aws-cdk-lib';
const rawEndpoint = new globalaccelerator.RawEndpoint({
  endpointId: 'endpointId',

  // the properties below are optional
  preserveClientIp: false,
  region: 'region',
  weight: 123,
});

Initializer

new RawEndpoint(props: RawEndpointProps)

Parameters

  • props RawEndpointProps

Properties

NameTypeDescription
region?stringThe region where the endpoint is located.

region?

Type: string (optional)

The region where the endpoint is located.

If the region cannot be determined, undefined is returned

Methods

NameDescription
renderEndpointConfiguration()Render the endpoint to an endpoint configuration.

renderEndpointConfiguration()

public renderEndpointConfiguration(): any

Returns

  • any

Render the endpoint to an endpoint configuration.