@Stability(value=Stable) public static final class CfnClusterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnClusterProps>
CfnClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnClusterProps.Builder resourcesVpcConfig(CfnCluster.ResourcesVpcConfigProperty resourcesVpcConfig)
CfnClusterProps.getResourcesVpcConfig()resourcesVpcConfig - The VPC configuration that's used by the cluster control plane. This parameter is required.
Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide . You must specify at least two subnets. You can specify up to five security groups, but we recommend that you use a dedicated security group for your cluster control plane.
Updates require replacement of the
SecurityGroupIdsandSubnetIdssub-properties.
this@Stability(value=Stable) public CfnClusterProps.Builder resourcesVpcConfig(IResolvable resourcesVpcConfig)
CfnClusterProps.getResourcesVpcConfig()resourcesVpcConfig - The VPC configuration that's used by the cluster control plane. This parameter is required.
Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see Cluster VPC Considerations and Cluster Security Group Considerations in the Amazon EKS User Guide . You must specify at least two subnets. You can specify up to five security groups, but we recommend that you use a dedicated security group for your cluster control plane.
Updates require replacement of the
SecurityGroupIdsandSubnetIdssub-properties.
this@Stability(value=Stable) public CfnClusterProps.Builder roleArn(String roleArn)
CfnClusterProps.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf. This parameter is required.
For more information, see Amazon EKS Service IAM Role in the Amazon EKS User Guide .this@Stability(value=Stable) public CfnClusterProps.Builder encryptionConfig(IResolvable encryptionConfig)
CfnClusterProps.getEncryptionConfig()encryptionConfig - The encryption configuration for the cluster.this@Stability(value=Stable) public CfnClusterProps.Builder encryptionConfig(List<? extends Object> encryptionConfig)
CfnClusterProps.getEncryptionConfig()encryptionConfig - The encryption configuration for the cluster.this@Stability(value=Stable) public CfnClusterProps.Builder kubernetesNetworkConfig(IResolvable kubernetesNetworkConfig)
CfnClusterProps.getKubernetesNetworkConfig()kubernetesNetworkConfig - The Kubernetes network configuration for the cluster.this@Stability(value=Stable) public CfnClusterProps.Builder kubernetesNetworkConfig(CfnCluster.KubernetesNetworkConfigProperty kubernetesNetworkConfig)
CfnClusterProps.getKubernetesNetworkConfig()kubernetesNetworkConfig - The Kubernetes network configuration for the cluster.this@Stability(value=Stable) public CfnClusterProps.Builder logging(IResolvable logging)
CfnClusterProps.getLogging()logging - The logging configuration for your cluster.this@Stability(value=Stable) public CfnClusterProps.Builder logging(CfnCluster.LoggingProperty logging)
CfnClusterProps.getLogging()logging - The logging configuration for your cluster.this@Stability(value=Stable) public CfnClusterProps.Builder name(String name)
CfnClusterProps.getName()name - The unique name to give to your cluster.this@Stability(value=Stable) public CfnClusterProps.Builder outpostConfig(IResolvable outpostConfig)
CfnClusterProps.getOutpostConfig()outpostConfig - An object representing the configuration of your local Amazon EKS cluster on an AWS Outpost.
This object isn't available for clusters on the AWS cloud.this@Stability(value=Stable) public CfnClusterProps.Builder outpostConfig(CfnCluster.OutpostConfigProperty outpostConfig)
CfnClusterProps.getOutpostConfig()outpostConfig - An object representing the configuration of your local Amazon EKS cluster on an AWS Outpost.
This object isn't available for clusters on the AWS cloud.this@Stability(value=Stable) public CfnClusterProps.Builder tags(List<? extends CfnTag> tags)
CfnClusterProps.getTags()tags - The metadata that you apply to the cluster to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Cluster tags don't propagate to any other resources associated with the cluster.
You must have the
eks:TagResourceandeks:UntagResourcepermissions in your IAM user or IAM role used to manage the CloudFormation stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
this@Stability(value=Stable) public CfnClusterProps.Builder version(String version)
CfnClusterProps.getVersion()version - The desired Kubernetes version for your cluster.
If you don't specify a value here, the default version available in Amazon EKS is used.
The default version might not be the latest version available.
this@Stability(value=Stable) public CfnClusterProps build()
build in interface software.amazon.jsii.Builder<CfnClusterProps>CfnClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.