Class InstanceEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpoint
- All Implemented Interfaces:
IEndpoint
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:16.015Z")
@Stability(Stable)
public class InstanceEndpoint
extends software.amazon.jsii.JsiiObject
implements IEndpoint
Use an EC2 Instance as a Global Accelerator Endpoint.
Example:
Listener listener; Instance instance; listener.addEndpointGroup("Group", EndpointGroupOptions.builder() .endpoints(List.of( InstanceEndpoint.Builder.create(instance) .weight(128) .preserveClientIp(true) .build())) .build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.globalaccelerator.IEndpoint
IEndpoint.Jsii$Default, IEndpoint.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionInstanceEndpoint
(IInstance instance) InstanceEndpoint
(IInstance instance, InstanceEndpointProps options) protected
InstanceEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
InstanceEndpoint
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe region where the endpoint is located.Render the endpoint to an endpoint configuration.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
InstanceEndpoint
protected InstanceEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
InstanceEndpoint
protected InstanceEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
InstanceEndpoint
@Stability(Stable) public InstanceEndpoint(@NotNull IInstance instance, @Nullable InstanceEndpointProps options) - Parameters:
instance
- This parameter is required.options
-
-
InstanceEndpoint
- Parameters:
instance
- This parameter is required.
-
-
Method Details
-
renderEndpointConfiguration
Render the endpoint to an endpoint configuration.- Specified by:
renderEndpointConfiguration
in interfaceIEndpoint
-
getRegion
The region where the endpoint is located.If the region cannot be determined,
undefined
is returned
-