@Stability(value=Stable) public static final class KubectlProviderAttributes.Builder extends Object implements software.amazon.jsii.Builder<KubectlProviderAttributes>
KubectlProviderAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
KubectlProviderAttributes |
build()
Builds the configured instance.
|
KubectlProviderAttributes.Builder |
functionArn(String functionArn)
Sets the value of
KubectlProviderAttributes.getFunctionArn() |
KubectlProviderAttributes.Builder |
handlerRole(IRole handlerRole)
Sets the value of
KubectlProviderAttributes.getHandlerRole() |
KubectlProviderAttributes.Builder |
kubectlRoleArn(String kubectlRoleArn)
Sets the value of
KubectlProviderAttributes.getKubectlRoleArn() |
@Stability(value=Stable) public KubectlProviderAttributes.Builder functionArn(String functionArn)
KubectlProviderAttributes.getFunctionArn()functionArn - The kubectl provider lambda arn. This parameter is required.this@Stability(value=Stable) public KubectlProviderAttributes.Builder handlerRole(IRole handlerRole)
KubectlProviderAttributes.getHandlerRole()handlerRole - The IAM execution role of the handler. This parameter is required.
This role must be able to assume kubectlRoleArnthis@Stability(value=Stable) public KubectlProviderAttributes.Builder kubectlRoleArn(String kubectlRoleArn)
KubectlProviderAttributes.getKubectlRoleArn()kubectlRoleArn - The IAM role to assume in order to perform kubectl operations against this cluster. This parameter is required.this@Stability(value=Stable) public KubectlProviderAttributes build()
build in interface software.amazon.jsii.Builder<KubectlProviderAttributes>KubectlProviderAttributesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.