Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

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 - String SubnetIds - 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

On this page: