Class KubectlProviderProps.Jsii$Proxy
- All Implemented Interfaces:
KubectlProviderOptions,KubectlProviderProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
KubectlProviderProps
KubectlProviderProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.eks_v2.KubectlProviderProps
KubectlProviderProps.Builder, KubectlProviderProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(KubectlProviderProps.Builder builder) Constructor that initializes the object based on literal property values passed by theKubectlProviderProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ILayerVersionAn AWS Lambda layer that contains theawsCLI.final IClusterThe cluster to control.Custom environment variables when runningkubectlagainst this cluster.final ILayerVersionAn AWS Lambda layer that includeskubectlandhelm.final SizeThe amount of memory allocated to the kubectl provider's lambda function.Subnets to host thekubectlcompute resources.final RemovalPolicyThe removal policy applied to the custom resource that provides kubectl.final IRolegetRole()An IAM role that can perform kubectl operations against this cluster.final ISecurityGroupA security group to use forkubectlexecution.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theKubectlProviderProps.Builder.
-
-
Method Details
-
getCluster
Description copied from interface:KubectlProviderPropsThe cluster to control.- Specified by:
getClusterin interfaceKubectlProviderProps
-
getKubectlLayer
Description copied from interface:KubectlProviderOptionsAn AWS Lambda layer that includeskubectlandhelm.- Specified by:
getKubectlLayerin interfaceKubectlProviderOptions
-
getAwscliLayer
Description copied from interface:KubectlProviderOptionsAn AWS Lambda layer that contains theawsCLI.Default: - If not defined, a default layer will be used containing the AWS CLI 2.x.
- Specified by:
getAwscliLayerin interfaceKubectlProviderOptions
-
getEnvironment
Description copied from interface:KubectlProviderOptionsCustom environment variables when runningkubectlagainst this cluster.Default: - No custom environment variables
- Specified by:
getEnvironmentin interfaceKubectlProviderOptions
-
getMemory
Description copied from interface:KubectlProviderOptionsThe amount of memory allocated to the kubectl provider's lambda function.Default: - 1024
- Specified by:
getMemoryin interfaceKubectlProviderOptions
-
getPrivateSubnets
Description copied from interface:KubectlProviderOptionsSubnets to host thekubectlcompute resources.If not specified, the k8s endpoint is expected to be accessible publicly.
Default: - the k8s is accessible publicly
- Specified by:
getPrivateSubnetsin interfaceKubectlProviderOptions
-
getRemovalPolicy
Description copied from interface:KubectlProviderOptionsThe 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
- Specified by:
getRemovalPolicyin interfaceKubectlProviderOptions
-
getRole
Description copied from interface:KubectlProviderOptionsAn IAM role that can perform kubectl operations against this cluster.The role should be mapped to the
system:mastersKubernetes RBAC role.This role is directly passed to the lambda handler that sends Kube Ctl commands to the cluster.
Default: - if not specified, the default role created by a lambda function will be used.
- Specified by:
getRolein interfaceKubectlProviderOptions
-
getSecurityGroup
Description copied from interface:KubectlProviderOptionsA security group to use forkubectlexecution.Default: - If not specified, the k8s endpoint is expected to be accessible publicly.
- Specified by:
getSecurityGroupin interfaceKubectlProviderOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-