@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:08.071Z") @Stability(value=Stable) public interface CommonClusterOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommonClusterOptions.Builder
A builder for
CommonClusterOptions |
static class |
CommonClusterOptions.Jsii$Proxy
An implementation for
CommonClusterOptions |
| Modifier and Type | Method and Description |
|---|---|
static CommonClusterOptions.Builder |
builder() |
default String |
getClusterName()
Name for the cluster.
|
default Boolean |
getOutputClusterName()
Determines whether a CloudFormation output with the name of the cluster will be synthesized.
|
default Boolean |
getOutputConfigCommand()
Determines whether a CloudFormation output with the `aws eks update-kubeconfig` command will be synthesized.
|
default IRole |
getRole()
Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
|
default ISecurityGroup |
getSecurityGroup()
Security Group to use for Control Plane ENIs.
|
KubernetesVersion |
getVersion()
The Kubernetes version to run in the cluster.
|
default IVpc |
getVpc()
The VPC in which to create the Cluster.
|
default List<SubnetSelection> |
getVpcSubnets()
Where to place EKS Control Plane ENIs.
|
@Stability(value=Stable) @NotNull KubernetesVersion getVersion()
@Stability(value=Stable) @Nullable default String getClusterName()
Default: - Automatically generated name
@Stability(value=Stable) @Nullable default Boolean getOutputClusterName()
Default: false
@Stability(value=Stable) @Nullable default Boolean getOutputConfigCommand()
This command will include the cluster name and, if applicable, the ARN of the masters IAM role.
Default: true
@Stability(value=Stable) @Nullable default IRole getRole()
Default: - A role is automatically created for you
@Stability(value=Stable) @Nullable default ISecurityGroup getSecurityGroup()
Default: - A security group is automatically created
@Stability(value=Stable) @Nullable default IVpc getVpc()
Default: - a VPC with default configuration will be created and can be accessed through `cluster.vpc`.
@Stability(value=Stable) @Nullable default List<SubnetSelection> getVpcSubnets()
If you want to create public load balancers, this must include public subnets.
For example, to only select private subnets, supply the following:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
vpcSubnets: [
{ subnetType: ec2.SubnetType.Private }
]
Default: - All public and private subnets
@Stability(value=Stable) static CommonClusterOptions.Builder builder()
CommonClusterOptions.Builder of CommonClusterOptionsCopyright © 2021. All rights reserved.