Interface CfnCluster.VpcConfigProperty

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

@Stability(Stable) public static interface CfnCluster.VpcConfigProperty extends software.amazon.jsii.JsiiSerializable
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.

You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .

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.sagemaker.*;
 VpcConfigProperty vpcConfigProperty = VpcConfigProperty.builder()
         .securityGroupIds(List.of("securityGroupIds"))
         .subnets(List.of("subnets"))
         .build();
 

See Also: