Interface KubectlProviderProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubectlProviderProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:10.760Z")
@Stability(Stable)
public interface KubectlProviderProps
extends software.amazon.jsii.JsiiSerializable
Properties for a KubectlProvider.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.eks.*;
Cluster cluster;
KubectlProviderProps kubectlProviderProps = KubectlProviderProps.builder()
.cluster(cluster)
// the properties below are optional
.removalPolicy(RemovalPolicy.DESTROY)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKubectlProviderPropsstatic final classAn implementation forKubectlProviderProps -
Method Summary
Modifier and TypeMethodDescriptionstatic KubectlProviderProps.Builderbuilder()The cluster to control.default RemovalPolicyThe removal policy applied to the custom resource that provides kubectl.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCluster
The cluster to control. -
getRemovalPolicy
The removal policy applied to the custom resource that provides kubectl.The removal policy controls what happens to the resource if it stops being managed by CloudFormation. This can happen in one of three situations:
- The resource is removed from the template, so CloudFormation stops managing it
- A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it
- The stack is deleted, so CloudFormation stops managing all resources in it
Default: RemovalPolicy.DESTROY
-
builder
- Returns:
- a
KubectlProviderProps.BuilderofKubectlProviderProps
-