Interface CfnModelBiasJobDefinition.IVpcConfigProperty
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpcConfigProperty
Syntax (vb)
Public Interface IVpcConfigProperty
Remarks
You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .
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 |
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 .