View a markdown version of this page

AWS::SageMaker::OptimizationJob OptimizationVpcConfig - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SageMaker::OptimizationJob OptimizationVpcConfig

A VPC in Amazon VPC that's accessible to an optimized that you create with an optimization job. 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 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 optimized model.

Required: Yes

Type: Array of String

Minimum: 1

Maximum: 32 | 16

Update requires: Replacement