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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.VpcConfigProperty
static final class
An implementation forCfnCluster.VpcConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The VPC security group IDs, in the formsg-xxxxxxxx
.The ID of the subnets in the VPC to which you want to connect your training job or model.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
The VPC security group IDs, in the formsg-xxxxxxxx
.Specify the security groups for the VPC that is specified in the
Subnets
field.- See Also:
-
getSubnets
The ID of the subnets in the VPC to which you want to connect your training job or model.For information about the availability of specific instance types, see Supported Instance Types and Availability Zones .
- See Also:
-
builder
-