Interface CfnCluster.ResourcesVpcConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCluster.ResourcesVpcConfigProperty.Jsii$Proxy
Enclosing class:
CfnCluster

@Stability(Stable) public static interface CfnCluster.ResourcesVpcConfigProperty extends software.amazon.jsii.JsiiSerializable
An object representing the VPC configuration to use for an Amazon EKS cluster.

When updating a resource, you must include these properties if the previous CloudFormation template of the resource had them:

  • EndpointPublicAccess
  • EndpointPrivateAccess
  • PublicAccessCidrs

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eks.*;
 ResourcesVpcConfigProperty resourcesVpcConfigProperty = ResourcesVpcConfigProperty.builder()
         .subnetIds(List.of("subnetIds"))
         // the properties below are optional
         .endpointPrivateAccess(false)
         .endpointPublicAccess(false)
         .publicAccessCidrs(List.of("publicAccessCidrs"))
         .securityGroupIds(List.of("securityGroupIds"))
         .build();
 

See Also: