class RawEndpoint
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GlobalAccelerator.RawEndpoint |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglobalaccelerator#RawEndpoint |
Java | software.amazon.awscdk.services.globalaccelerator.RawEndpoint |
Python | aws_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
Raw
Endpoint Props
Properties
Name | Type | Description |
---|---|---|
region? | string | The 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
Name | Description |
---|---|
render | Render the endpoint to an endpoint configuration. |
EndpointConfiguration()
renderpublic renderEndpointConfiguration(): any
Returns
any
Render the endpoint to an endpoint configuration.