Interface CfnModelExplainabilityJobDefinition.IVpcConfigProperty
Specifies a VPC that your training jobs and hosted models have access to.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public interface IVpcConfigProperty
Syntax (vb)
Public Interface 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
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. |
Properties
SecurityGroupIds
The VPC security group IDs, in the form sg-xxxxxxxx.
string[] SecurityGroupIds { get; }
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.
string[] Subnets { get; }
Property Value
System.String[]
Remarks
For information about the availability of specific instance types, see Supported Instance Types and Availability Zones .