Class RawEndpoint
Untyped endpoint implementation.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.AWS.GlobalAccelerator.dll
Syntax (csharp)
public class RawEndpoint : DeputyBase, IEndpoint
Syntax (vb)
Public Class RawEndpoint
Inherits DeputyBase
Implements IEndpoint
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GlobalAccelerator;
var rawEndpoint = new RawEndpoint(new RawEndpointProps {
EndpointId = "endpointId",
// the properties below are optional
PreserveClientIp = false,
Region = "region",
Weight = 123
});
Synopsis
Constructors
RawEndpoint(IRawEndpointProps) | |
RawEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RawEndpoint(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
RawEndpoint(IRawEndpointProps)
RawEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RawEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RawEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RawEndpoint(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