- All Superinterfaces:
- All Known Implementing Classes:
- Enclosing class:
@Stability(Stable) public static interface CfnModelQualityJobDefinition.VpcConfigProperty extends software.amazon.jsii.JsiiSerializable
Specifies a VPC that your training jobs and hosted models have access to.
Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud .
// 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();
Nested Class SummaryModifier and TypeInterfaceDescription
static final classA builder for
static final classAn implementation for
Method SummaryModifier and TypeMethodDescription
builder()The VPC security group IDs, in the form sg-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
getSecurityGroupIdsThe VPC security group IDs, in the form sg-xxxxxxxx.
Specify the security groups for the VPC that is specified in the
getSubnetsThe 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 .
builder@Stability(Stable) static CfnModelQualityJobDefinition.VpcConfigProperty.Builder builder()