Class CfnDataQualityJobDefinition.VpcConfigProperty
Specifies a VPC that your training jobs and hosted models have access to.
Inheritance
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class VpcConfigProperty : Object, CfnDataQualityJobDefinition.IVpcConfigProperty
Syntax (vb)
Public Class VpcConfigProperty
Inherits Object
Implements CfnDataQualityJobDefinition.IVpcConfigProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var vpcConfigProperty = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" }
};
Synopsis
Constructors
VpcConfigProperty() |
Properties
SecurityGroupIds | The VPC security group IDs, in the form sg-xxxxxxxx. |
Subnets | The ID of the subnets in the VPC to which you want to connect your training job or model. |
Constructors
VpcConfigProperty()
public VpcConfigProperty()
Properties
SecurityGroupIds
The VPC security group IDs, in the form sg-xxxxxxxx.
public string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
Specify the security groups for the VPC that is specified in the Subnets
field.
Subnets
The ID of the subnets in the VPC to which you want to connect your training job or model.
public string[] Subnets { get; set; }
Property Value
System.String[]
Remarks
For information about the availability of specific instance types, see Supported Instance Types and Availability Zones .