EndpointAccess

class aws_cdk.aws_eks.EndpointAccess(*args, **kwargs)

Bases: object

(experimental) Endpoint access characteristics.

Stability

experimental

Methods

only_from(*cidr)

(experimental) Restrict public access to specific CIDR blocks.

If public access is disabled, this method will result in an error.

Parameters

cidr (str) – CIDR blocks.

Stability

experimental

Return type

EndpointAccess

Attributes

PRIVATE = <aws_cdk.aws_eks.EndpointAccess object>
PUBLIC = <aws_cdk.aws_eks.EndpointAccess object>
PUBLIC_AND_PRIVATE = <aws_cdk.aws_eks.EndpointAccess object>