Class CfnMonitoringSchedule.VpcConfigProperty
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcConfigProperty : Object, CfnMonitoringSchedule.IVpcConfigProperty
Syntax (vb)
Public Class VpcConfigProperty
Inherits Object
Implements CfnMonitoringSchedule.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
Constructors
Vpc |
Properties
Security |
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. |
Constructors
VpcConfigProperty()
public VpcConfigProperty()
Properties
SecurityGroupIds
The VPC security group IDs, in the form sg-xxxxxxxx
.
public string[] SecurityGroupIds { get; set; }
Property Value
System.
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.
Remarks
For information about the availability of specific instance types, see Supported Instance Types and Availability Zones .