@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:08.175Z") @Stability(value=Experimental) 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()
(experimental) Name for the cluster.
|
default Boolean |
getOutputClusterName()
(experimental) Determines whether a CloudFormation output with the name of the cluster will be synthesized.
|
default Boolean |
getOutputConfigCommand()
(experimental) Determines whether a CloudFormation output with the `aws eks update-kubeconfig` command will be synthesized.
|
default IRole |
getRole()
(experimental) Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
|
default ISecurityGroup |
getSecurityGroup()
(experimental) Security Group to use for Control Plane ENIs.
|
KubernetesVersion |
getVersion()
(experimental) The Kubernetes version to run in the cluster.
|
default IVpc |
getVpc()
(experimental) The VPC in which to create the Cluster.
|
default List<SubnetSelection> |
getVpcSubnets()
(experimental) Where to place EKS Control Plane ENIs.
|
@Stability(value=Experimental) @NotNull KubernetesVersion getVersion()
@Stability(value=Experimental) @Nullable default String getClusterName()
Default: - Automatically generated name
@Stability(value=Experimental) @Nullable default Boolean getOutputClusterName()
Default: false
@Stability(value=Experimental) @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=Experimental) @Nullable default IRole getRole()
Default: - A role is automatically created for you
@Stability(value=Experimental) @Nullable default ISecurityGroup getSecurityGroup()
Default: - A security group is automatically created
@Stability(value=Experimental) @Nullable default IVpc getVpc()
Default: - a VPC with default configuration will be created and can be accessed through `cluster.vpc`.
@Stability(value=Experimental) @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=Experimental) static CommonClusterOptions.Builder builder()
CommonClusterOptions.Builder
of CommonClusterOptions
Copyright © 2021. All rights reserved.