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
Constructors -
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()etcdInstanceType(String etcdInstanceType) Sets the value ofCfnCluster.OutpostConfigProperty.getEtcdInstanceType()etcdPlacement(IResolvable etcdPlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getEtcdPlacement()etcdPlacement(CfnCluster.EtcdPlacementProperty etcdPlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getEtcdPlacement()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
-
etcdInstanceType
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder etcdInstanceType(String etcdInstanceType) Sets the value ofCfnCluster.OutpostConfigProperty.getEtcdInstanceType()- Parameters:
etcdInstanceType- The EC2 instance type for etcd instances of your local Amazon EKS cluster on AWS Outposts. This instance type applies to all etcd instances and cannot be changed after cluster creation.- Returns:
this
-
etcdPlacement
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder etcdPlacement(IResolvable etcdPlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getEtcdPlacement()- Parameters:
etcdPlacement- The placement configuration for the etcd instances of your local Amazon EKS cluster on an AWS Outpost.- Returns:
this
-
etcdPlacement
@Stability(Stable) public CfnCluster.OutpostConfigProperty.Builder etcdPlacement(CfnCluster.EtcdPlacementProperty etcdPlacement) Sets the value ofCfnCluster.OutpostConfigProperty.getEtcdPlacement()- Parameters:
etcdPlacement- The placement configuration for the etcd instances of your local Amazon EKS cluster on an AWS Outpost.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.OutpostConfigProperty>- Returns:
- a new instance of
CfnCluster.OutpostConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-