AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon SageMaker Model VpcConfig

The VpcConfig property type specifies a VPC that your hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see Protect Models by Using an Amazon Virtual Private Cloud.

VpcConfig is a property of the AWS::SageMaker::Model resource.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Subnets" : [String, ... ], "SecurityGroupIds: [String, ... ] }

YAML

Subnets: - String SecurityGroupIds: - String

Properties

Subnets

The ID of the subnets in the VPC to which you want to connect your training job or model.

Required: Yes

Type: List of String values

Update requires: Replacement

SecurityGroupIds

The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

Required: Yes

Type: List of String values

Update requires: Replacement

On this page: