# AWS::SageMaker::MonitoringSchedule VpcConfig Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the 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_: List of String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Subnets The ID of the subnets in the VPC to which you want to connect to your monitoring jobs. _Required_: Yes _Type_: List of String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)