@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:18.575Z") @Stability(value=Experimental) public interface ClusterProps extends software.amazon.jsii.JsiiSerializable, ClusterOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClusterProps.Builder
A builder for
ClusterProps |
static class |
ClusterProps.Jsii$Proxy
An implementation for
ClusterProps |
| Modifier and Type | Method and Description |
|---|---|
static ClusterProps.Builder |
builder() |
default Number |
getDefaultCapacity()
(experimental) Number of instances to allocate as an initial capacity for this cluster.
|
default InstanceType |
getDefaultCapacityInstance()
(experimental) The instance type to use for the default capacity.
|
default DefaultCapacityType |
getDefaultCapacityType()
(experimental) The default capacity type for the cluster.
|
getClusterHandlerEnvironment, getCoreDnsComputeType, getEndpointAccess, getKubectlEnvironment, getKubectlLayer, getKubectlMemory, getMastersRole, getOutputMastersRoleArn, getPlaceClusterHandlerInVpc, getPrune, getSecretsEncryptionKeygetClusterName, getOutputClusterName, getOutputConfigCommand, getRole, getSecurityGroup, getVersion, getVpc, getVpcSubnets@Stability(value=Experimental) @Nullable default Number getDefaultCapacity()
Instance type can be configured through defaultCapacityInstanceType,
which defaults to m5.large.
Use cluster.addAutoScalingGroupCapacity to add additional customized capacity. Set this
to 0 is you wish to avoid the initial capacity allocation.
Default: 2
@Stability(value=Experimental) @Nullable default InstanceType getDefaultCapacityInstance()
This will only be taken
into account if defaultCapacity is > 0.
Default: m5.large
@Stability(value=Experimental) @Nullable default DefaultCapacityType getDefaultCapacityType()
Default: NODEGROUP
@Stability(value=Experimental) static ClusterProps.Builder builder()
builder in interface ClusterOptionsbuilder in interface CommonClusterOptionsClusterProps.Builder of ClusterPropsCopyright © 2021. All rights reserved.