Interface CfnModelQualityJobDefinition.VpcConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelQualityJobDefinition.VpcConfigProperty.Jsii$Proxy
- Enclosing class:
CfnModelQualityJobDefinition
@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 .
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnModelQualityJobDefinition.VpcConfigProperty
static final class
An implementation forCfnModelQualityJobDefinition.VpcConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
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
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
The VPC security group IDs, in the form sg-xxxxxxxx.Specify the security groups for the VPC that is specified in the
Subnets
field. -
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 .
-
builder
-