EndpointAccess

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

Bases: object

Endpoint access characteristics.

stability :stability: experimental

Methods

only_from(*cidr)

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 :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>