interface IKubectlProvider
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EKS.IKubectlProvider |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#IKubectlProvider |
Java | software.amazon.awscdk.services.eks.IKubectlProvider |
Python | aws_cdk.aws_eks.IKubectlProvider |
TypeScript (source) | aws-cdk-lib » aws_eks » IKubectlProvider |
Implements
IDependable, IConstruct
Implemented by
Kubectl
Obtainable from
Kubectl.fromKubectlProviderAttributes(), Kubectl.getOrCreate()
Imported KubectlProvider that can be used in place of the default one created by CDK.
Properties
| Name | Type | Description |
|---|---|---|
| handler | IRole | The IAM execution role of the handler. |
| node | Node | The tree node. |
| role | string | The IAM role to assume in order to perform kubectl operations against this cluster. |
| service | string | The custom resource provider's service token. |
handlerRole
Type:
IRole
The IAM execution role of the handler.
node
Type:
Node
The tree node.
roleArn
Type:
string
The IAM role to assume in order to perform kubectl operations against this cluster.
serviceToken
Type:
string
The custom resource provider's service token.
Methods
| Name | Description |
|---|---|
| with(...mixins) | Applies one or more mixins to this construct. |
with(...mixins)
public with(...mixins: IMixin[]): IConstruct
Parameters
- mixins
IMixin— The mixins to apply.
Returns
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.

.NET
Go
Java
Python
TypeScript (