IKubectlProvider

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

Bases: IConstruct, Protocol

Imported KubectlProvider that can be used in place of the default one created by CDK.

Methods

with_(*mixins)

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.

Parameters:

mixins (IMixin) – The mixins to apply.

Return type:

IConstruct

Returns:

This construct for chaining

Attributes

handler_role

The IAM execution role of the handler.

node

The tree node.

role_arn

The IAM role to assume in order to perform kubectl operations against this cluster.

service_token

The custom resource provider’s service token.