@Stability(value=Stable)
public static interface CfnCluster.OutpostConfigProperty
extends software.amazon.jsii.JsiiSerializable
Before creating a cluster on an Outpost, review Creating a local cluster on an Outpost in the Amazon EKS User Guide . This API isn't available for Amazon EKS clusters on the AWS cloud.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
OutpostConfigProperty outpostConfigProperty = OutpostConfigProperty.builder()
.controlPlaneInstanceType("controlPlaneInstanceType")
.outpostArns(List.of("outpostArns"))
// the properties below are optional
.controlPlanePlacement(ControlPlanePlacementProperty.builder()
.groupName("groupName")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.OutpostConfigProperty.Builder
A builder for
CfnCluster.OutpostConfigProperty |
static class |
CfnCluster.OutpostConfigProperty.Jsii$Proxy
An implementation for
CfnCluster.OutpostConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.OutpostConfigProperty.Builder |
builder() |
String |
getControlPlaneInstanceType()
The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts.
|
default Object |
getControlPlanePlacement()
`CfnCluster.OutpostConfigProperty.ControlPlanePlacement`.
|
List<String> |
getOutpostArns()
The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts.
|
@Stability(value=Stable) @NotNull String getControlPlaneInstanceType()
Choose an instance type based on the number of nodes that your cluster will have. For more information, see Capacity considerations in the Amazon EKS User Guide .
The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation. The control plane is not automatically scaled by Amazon EKS.
@Stability(value=Stable) @NotNull List<String> getOutpostArns()
Only a single Outpost ARN is supported.
@Stability(value=Stable) @Nullable default Object getControlPlanePlacement()
@Stability(value=Stable) static CfnCluster.OutpostConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.