This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Comprehend::EntityRecognizer VpcConfig
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "SecurityGroupIds" :[ String, ... ], "Subnets" :[ String, ... ]}
YAML
SecurityGroupIds:- StringSubnets:- String
Properties
SecurityGroupIds-
The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.
Required: Yes
Type: Array of String
Minimum:
1 | 1Maximum:
32 | 5Update requires: Replacement
Subnets-
The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.
We recommend that you specify subnets in at least two Availability Zones. Amazon Comprehend runs the job in one of the subnets that you provide. If all of your subnets are in a single Availability Zone, the job can't be placed in another Availability Zone when that Availability Zone is impaired, and the job can fail. Each subnet must also have enough free IP addresses for the job's instances.
Required: Yes
Type: Array of String
Minimum:
1 | 1Maximum:
32 | 16Update requires: Replacement