# IKubectlProvider

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

Extends: IKubectlProvider
Extends: IConstruct
Implemented by: KubectlProvider

- Source: [`aws-eks/lib/kubectl-provider.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-eks/lib/kubectl-provider.ts#L60)
- Type last changed: v2.4.0 · 6 Jan 2022

## Properties

- `handlerRole`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — The IAM execution role of the handler.

- `node`: [Node](/cdk/api/v2/docs/constructs.Node.html) — The tree node.

- `roleArn`: string — The IAM role to assume in order to perform kubectl operations against this cluster.

- `serviceToken`: string — The custom resource provider's service token.

## Methods

- `with(...mixins: IMixin[]): IConstruct` — 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` — The mixins to apply.

  **Returns:** This construct for chaining
