interface VpcConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnEndpointConfigPropsMixin.VpcConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnEndpointConfigPropsMixin_VpcConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.VpcConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnEndpointConfigPropsMixin.VpcConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnEndpointConfigPropsMixin » VpcConfigProperty |
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
You can control access to and from your resources by configuring a VPC.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from '@aws-cdk/cfn-property-mixins';
const vpcConfigProperty: sagemaker.CfnEndpointConfigPropsMixin.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[]
(optional)
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[]
(optional)
The ID of the subnets in the VPC to which you want to connect your training job or model.

.NET
Go
Java
Python
TypeScript