@Stability(value=Experimental) @Internal public static final class LegacyClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LegacyClusterProps
LegacyClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeLegacyClusterProps.Builder, LegacyClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number defaultCapacity,
InstanceType defaultCapacityInstance,
DefaultCapacityType defaultCapacityType,
IKey secretsEncryptionKey,
KubernetesVersion version,
String clusterName,
Boolean outputClusterName,
Boolean outputConfigCommand,
IRole role,
ISecurityGroup securityGroup,
IVpc vpc,
List<? extends SubnetSelection> vpcSubnets)
Constructor that initializes the object based on literal property values passed by the
LegacyClusterProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getClusterName()
(experimental) Name for the cluster.
|
Number |
getDefaultCapacity()
(experimental) Number of instances to allocate as an initial capacity for this cluster.
|
InstanceType |
getDefaultCapacityInstance()
(experimental) The instance type to use for the default capacity.
|
DefaultCapacityType |
getDefaultCapacityType()
(experimental) The default capacity type for the cluster.
|
Boolean |
getOutputClusterName()
(experimental) Determines whether a CloudFormation output with the name of the cluster will be synthesized.
|
Boolean |
getOutputConfigCommand()
(experimental) Determines whether a CloudFormation output with the `aws eks update-kubeconfig` command will be synthesized.
|
IRole |
getRole()
(experimental) Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
|
IKey |
getSecretsEncryptionKey()
(experimental) KMS secret for envelope encryption for Kubernetes secrets.
|
ISecurityGroup |
getSecurityGroup()
(experimental) Security Group to use for Control Plane ENIs.
|
KubernetesVersion |
getVersion()
(experimental) The Kubernetes version to run in the cluster.
|
IVpc |
getVpc()
(experimental) The VPC in which to create the Cluster.
|
List<SubnetSelection> |
getVpcSubnets()
(experimental) Where to place EKS Control Plane ENIs.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number defaultCapacity, InstanceType defaultCapacityInstance, DefaultCapacityType defaultCapacityType, IKey secretsEncryptionKey, KubernetesVersion version, String clusterName, Boolean outputClusterName, Boolean outputConfigCommand, IRole role, ISecurityGroup securityGroup, IVpc vpc, List<? extends SubnetSelection> vpcSubnets)
LegacyClusterProps.Builder.public final Number getDefaultCapacity()
LegacyClusterProps
Instance type can be configured through defaultCapacityInstanceType,
which defaults to m5.large.
Use cluster.addCapacity to add additional customized capacity. Set this
to 0 is you wish to avoid the initial capacity allocation.
Default: 2
getDefaultCapacity in interface LegacyClusterPropspublic final InstanceType getDefaultCapacityInstance()
LegacyClusterProps
This will only be taken
into account if defaultCapacity is > 0.
Default: m5.large
getDefaultCapacityInstance in interface LegacyClusterPropspublic final DefaultCapacityType getDefaultCapacityType()
LegacyClusterPropsDefault: NODEGROUP
getDefaultCapacityType in interface LegacyClusterPropspublic final IKey getSecretsEncryptionKey()
LegacyClusterPropsDefault: - By default, Kubernetes stores all secret object data within etcd and all etcd volumes used by Amazon EKS are encrypted at the disk-level using AWS-Managed encryption keys.
getSecretsEncryptionKey in interface LegacyClusterPropspublic final KubernetesVersion getVersion()
CommonClusterOptionsgetVersion in interface CommonClusterOptionspublic final String getClusterName()
CommonClusterOptionsDefault: - Automatically generated name
getClusterName in interface CommonClusterOptionspublic final Boolean getOutputClusterName()
CommonClusterOptionsDefault: false
getOutputClusterName in interface CommonClusterOptionspublic final Boolean getOutputConfigCommand()
CommonClusterOptionsThis command will include the cluster name and, if applicable, the ARN of the masters IAM role.
Default: true
getOutputConfigCommand in interface CommonClusterOptionspublic final IRole getRole()
CommonClusterOptionsDefault: - A role is automatically created for you
getRole in interface CommonClusterOptionspublic final ISecurityGroup getSecurityGroup()
CommonClusterOptionsDefault: - A security group is automatically created
getSecurityGroup in interface CommonClusterOptionspublic final IVpc getVpc()
CommonClusterOptionsDefault: - a VPC with default configuration will be created and can be accessed through `cluster.vpc`.
getVpc in interface CommonClusterOptionspublic final List<SubnetSelection> getVpcSubnets()
CommonClusterOptionsIf 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
getVpcSubnets in interface CommonClusterOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.