EKS Cluster ResourcesVpcConfig
The
ResourcesVpcConfig property type specifies the VPC subnets and security
groups used by the Amazon EKS cluster control plane. 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.
ResourcesVpcConfig is a property of the AWS::EKS::Cluster resource type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "SecurityGroupIds" : [String, ... ] , "SubnetIds" : [String, ... ] }
YAML
SecurityGroupIds: -StringSubnetIds: -String
Properties
SecurityGroupIds-
Specify one or more security groups for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane.
Required: No
Type: List of String values
Update requires: No interruption
SubnetIds-
Specify at least 2 subnets for your Amazon EKS worker nodes. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your worker nodes and the Kubernetes control plane.
Required: Yes
Type: List of String values
Update requires: No interruption
See Also
-
Clusters in the Amazon EKS User Guide.
-
CreateCluster in the Amazon EKS API Reference.
