interface VpcConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnDataQualityJobDefinition.VpcConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition.VpcConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnDataQualityJobDefinition.VpcConfigProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnDataQualityJobDefinition » VpcConfigProperty |
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 * as sagemaker from '@aws-cdk/aws-sagemaker';
const vpcConfigProperty: sagemaker.CfnDataQualityJobDefinition.VpcConfigProperty = {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
};
Properties
Name | Type | Description |
---|---|---|
security | string[] | The VPC security group IDs, in the form sg-xxxxxxxx. |
subnets | string[] | The ID of the subnets in the VPC to which you want to connect your training job or model. |
securityGroupIds
Type:
string[]
The VPC security group IDs, in the form sg-xxxxxxxx.
Specify the security groups for the VPC that is specified in the Subnets
field.
subnets
Type:
string[]
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 .