@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.521Z") @Stability(value=Stable) public class InstanceEndpoint extends software.amazon.jsii.JsiiObject implements IEndpoint
Example:
Listener listener;
Instance instance;
listener.addEndpointGroup("Group", EndpointGroupOptions.builder()
.endpoints(List.of(
InstanceEndpoint.Builder.create(instance)
.weight(128)
.preserveClientIp(true)
.build()))
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
InstanceEndpoint.Builder
A fluent builder for
InstanceEndpoint. |
software.amazon.jsii.JsiiObject.InitializationModeIEndpoint.Jsii$Default, IEndpoint.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
InstanceEndpoint(IInstance instance) |
|
InstanceEndpoint(IInstance instance,
InstanceEndpointProps options) |
protected |
InstanceEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InstanceEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRegion()
The region where the endpoint is located.
|
Object |
renderEndpointConfiguration()
Render the endpoint to an endpoint configuration.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InstanceEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected InstanceEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public InstanceEndpoint(@NotNull
IInstance instance,
@Nullable
InstanceEndpointProps options)
instance - This parameter is required.options - @Stability(value=Stable)
public InstanceEndpoint(@NotNull
IInstance instance)
instance - This parameter is required.@Stability(value=Stable) @NotNull public Object renderEndpointConfiguration()
renderEndpointConfiguration in interface IEndpointCopyright © 2022. All rights reserved.