@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:08.073Z") @Stability(value=Stable) public class EndpointAccess extends software.amazon.jsii.JsiiObject
| Modifier and Type | Field and Description |
|---|---|
static EndpointAccess |
PRIVATE
The cluster endpoint is only accessible through your VPC.
|
static EndpointAccess |
PUBLIC
The cluster endpoint is accessible from outside of your VPC.
|
static EndpointAccess |
PUBLIC_AND_PRIVATE
The cluster endpoint is accessible from outside of your VPC.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EndpointAccess(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EndpointAccess(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
EndpointAccess |
onlyFrom(String... cidr)
Restrict public access to specific CIDR blocks.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final EndpointAccess PRIVATE
Worker node traffic to the endpoint will stay within your VPC.
@Stability(value=Stable) public static final EndpointAccess PUBLIC
Worker node traffic will leave your VPC to connect to the endpoint.
By default, the endpoint is exposed to all adresses. You can optionally limit the CIDR blocks that can access the public endpoint using the PUBLIC.onlyFrom method.
If you limit access to specific CIDR blocks, you must ensure that the CIDR blocks that you
specify include the addresses that worker nodes and Fargate pods (if you use them)
access the public endpoint from.
@Stability(value=Stable) public static final EndpointAccess PUBLIC_AND_PRIVATE
Worker node traffic to the endpoint will stay within your VPC.
By default, the endpoint is exposed to all adresses. You can optionally limit the CIDR blocks that can access the public endpoint using the PUBLIC_AND_PRIVATE.onlyFrom method.
If you limit access to specific CIDR blocks, you must ensure that the CIDR blocks that you
specify include the addresses that worker nodes and Fargate pods (if you use them)
access the public endpoint from.
protected EndpointAccess(software.amazon.jsii.JsiiObjectRef objRef)
protected EndpointAccess(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public EndpointAccess onlyFrom(@NotNull String... cidr)
If public access is disabled, this method will result in an error.
cidr - CIDR blocks. This parameter is required.Copyright © 2021. All rights reserved.