Class CfnEipEndpoint
Use an EC2 Instance as a Global Accelerator Endpoint.
Implements
Namespace: Amazon.CDK.AWS.GlobalAccelerator.Endpoints
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEipEndpoint : DeputyBase, IEndpoint
Syntax (vb)
Public Class CfnEipEndpoint Inherits DeputyBase Implements IEndpoint
Remarks
ExampleMetadata: infused
Examples
Listener listener;
CfnEIP eip;
listener.AddEndpointGroup("Group", new EndpointGroupOptions {
Endpoints = new [] {
new CfnEipEndpoint(eip, new CfnEipEndpointProps {
Weight = 128
}) }
});
Synopsis
Constructors
CfnEipEndpoint(CfnEIP, ICfnEipEndpointProps?) | Use an EC2 Instance as a Global Accelerator Endpoint. |
Properties
Region | The region where the endpoint is located. |
Methods
RenderEndpointConfiguration() | Render the endpoint to an endpoint configuration. |
Constructors
CfnEipEndpoint(CfnEIP, ICfnEipEndpointProps?)
Use an EC2 Instance as a Global Accelerator Endpoint.
public CfnEipEndpoint(CfnEIP eip, ICfnEipEndpointProps? options = null)
Parameters
- eip CfnEIP
- options ICfnEipEndpointProps
Remarks
ExampleMetadata: infused
Examples
Listener listener;
CfnEIP eip;
listener.AddEndpointGroup("Group", new EndpointGroupOptions {
Endpoints = new [] {
new CfnEipEndpoint(eip, new CfnEipEndpointProps {
Weight = 128
}) }
});
Properties
Region
The region where the endpoint is located.
public virtual string? Region { get; }
Property Value
Remarks
If the region cannot be determined, undefined
is returned
Methods
RenderEndpointConfiguration()
Render the endpoint to an endpoint configuration.
public virtual object RenderEndpointConfiguration()
Returns
Remarks
ExampleMetadata: infused