Class CfnCluster.OutpostConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.OutpostConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.OutpostConfigProperty>
- Enclosing interface:
CfnCluster.OutpostConfigProperty
@Stability(Stable)
public static final class CfnCluster.OutpostConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.OutpostConfigProperty>
A builder for
CfnCluster.OutpostConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.controlPlaneInstanceType
(String controlPlaneInstanceType) Sets the value ofCfnCluster.OutpostConfigProperty.getControlPlaneInstanceType()
controlPlanePlacement
(IResolvable controlPlanePlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getControlPlanePlacement()
controlPlanePlacement
(CfnCluster.ControlPlanePlacementProperty controlPlanePlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getControlPlanePlacement()
outpostArns
(List<String> outpostArns) Sets the value ofCfnCluster.OutpostConfigProperty.getOutpostArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlPlaneInstanceType
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder controlPlaneInstanceType(String controlPlaneInstanceType) Sets the value ofCfnCluster.OutpostConfigProperty.getControlPlaneInstanceType()
- Parameters:
controlPlaneInstanceType
- The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. This parameter is required. 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.
- Returns:
this
-
outpostArns
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder outpostArns(List<String> outpostArns) Sets the value ofCfnCluster.OutpostConfigProperty.getOutpostArns()
- Parameters:
outpostArns
- The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts. This parameter is required. Only a single Outpost ARN is supported.- Returns:
this
-
controlPlanePlacement
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder controlPlanePlacement(IResolvable controlPlanePlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getControlPlanePlacement()
- Parameters:
controlPlanePlacement
- An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an AWS Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide .- Returns:
this
-
controlPlanePlacement
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder controlPlanePlacement(CfnCluster.ControlPlanePlacementProperty controlPlanePlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getControlPlanePlacement()
- Parameters:
controlPlanePlacement
- An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on an AWS Outpost. For more information, see Capacity considerations in the Amazon EKS User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.OutpostConfigProperty>
- Returns:
- a new instance of
CfnCluster.OutpostConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-