Class CfnEipEndpoint
Use an EC2 Instance as a Global Accelerator Endpoint.
Inheritance
System.Object
CfnEipEndpoint
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) | |
CfnEipEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnEipEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Region | The region where the endpoint is located. |
Methods
RenderEndpointConfiguration() | Render the endpoint to an endpoint configuration. |
Constructors
CfnEipEndpoint(CfnEIP, ICfnEipEndpointProps)
public CfnEipEndpoint(CfnEIP eip, ICfnEipEndpointProps options = null)
Parameters
- eip CfnEIP
- options ICfnEipEndpointProps
CfnEipEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnEipEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnEipEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnEipEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Region
The region where the endpoint is located.
public virtual string Region { get; }
Property Value
System.String
Remarks
If the region cannot be determined, undefined
is returned
Methods
RenderEndpointConfiguration()
Render the endpoint to an endpoint configuration.
public virtual object RenderEndpointConfiguration()
Returns
System.Object