AWS::SageMaker::Cluster VpcConfig - AWS CloudFormation

AWS::SageMaker::Cluster VpcConfig

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. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

Syntax

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

JSON

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

YAML

SecurityGroupIds: - String Subnets: - String

Properties

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: Array of String

Minimum: 1

Maximum: 32 | 5

Update requires: Replacement

Subnets

The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

Required: Yes

Type: Array of String

Minimum: 1

Maximum: 32 | 16

Update requires: Replacement