Class CfnClusterPropsMixin.OutpostConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.OutpostConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.OutpostConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.OutpostConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.OutpostConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.OutpostConfigProperty>
A builder for
CfnClusterPropsMixin.OutpostConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.controlPlaneInstanceType(String controlPlaneInstanceType) Sets the value ofCfnClusterPropsMixin.OutpostConfigProperty.getControlPlaneInstanceType()controlPlanePlacement(CfnClusterPropsMixin.ControlPlanePlacementProperty controlPlanePlacement) Sets the value ofCfnClusterPropsMixin.OutpostConfigProperty.getControlPlanePlacement()controlPlanePlacement(IResolvable controlPlanePlacement) Sets the value ofCfnClusterPropsMixin.OutpostConfigProperty.getControlPlanePlacement()outpostArns(List<String> outpostArns) Sets the value ofCfnClusterPropsMixin.OutpostConfigProperty.getOutpostArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlPlaneInstanceType
@Stability(Stable) public CfnClusterPropsMixin.OutpostConfigProperty.Builder controlPlaneInstanceType(String controlPlaneInstanceType) Sets the value ofCfnClusterPropsMixin.OutpostConfigProperty.getControlPlaneInstanceType()- Parameters:
controlPlaneInstanceType- The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. 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
-
controlPlanePlacement
@Stability(Stable) public CfnClusterPropsMixin.OutpostConfigProperty.Builder controlPlanePlacement(IResolvable controlPlanePlacement) Sets the value ofCfnClusterPropsMixin.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 CfnClusterPropsMixin.OutpostConfigProperty.Builder controlPlanePlacement(CfnClusterPropsMixin.ControlPlanePlacementProperty controlPlanePlacement) Sets the value ofCfnClusterPropsMixin.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
-
outpostArns
@Stability(Stable) public CfnClusterPropsMixin.OutpostConfigProperty.Builder outpostArns(List<String> outpostArns) Sets the value ofCfnClusterPropsMixin.OutpostConfigProperty.getOutpostArns()- Parameters:
outpostArns- The ARN of the Outpost that you want to use for your local Amazon EKS cluster on Outposts. Only a single Outpost ARN is supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.OutpostConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.OutpostConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-