class CfnEipEndpoint
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GlobalAccelerator.Endpoints.CfnEipEndpoint |
Java | software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint |
Python | aws_cdk.aws_globalaccelerator_endpoints.CfnEipEndpoint |
TypeScript (source) | @aws-cdk/aws-globalaccelerator-endpoints » CfnEipEndpoint |
Implements
IEndpoint
Use an EC2 Instance as a Global Accelerator Endpoint.
Example
declare const listener: globalaccelerator.Listener;
declare const eip: ec2.CfnEIP;
listener.addEndpointGroup('Group', {
endpoints: [
new ga_endpoints.CfnEipEndpoint(eip, {
weight: 128,
}),
],
});
Initializer
new CfnEipEndpoint(eip: CfnEIP, options?: CfnEipEndpointProps)
Parameters
- eip
CfnEIP - options
CfnEip 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. |
renderEndpointConfiguration()
public renderEndpointConfiguration(): any
Returns
any
Render the endpoint to an endpoint configuration.

.NET
Java
Python
TypeScript (