aws-cdk-lib.aws_comprehend.CfnDocumentClassifier.VpcConfigProperty

interface VpcConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Comprehend.CfnDocumentClassifier.VpcConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscomprehend#CfnDocumentClassifier_VpcConfigProperty
Javasoftware.amazon.awscdk.services.comprehend.CfnDocumentClassifier.VpcConfigProperty
Pythonaws_cdk.aws_comprehend.CfnDocumentClassifier.VpcConfigProperty
TypeScript aws-cdk-lib » aws_comprehend » CfnDocumentClassifier » VpcConfigProperty

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 .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_comprehend as comprehend } from 'aws-cdk-lib';
const vpcConfigProperty: comprehend.CfnDocumentClassifier.VpcConfigProperty = {
  securityGroupIds: ['securityGroupIds'],
  subnets: ['subnets'],
};

Properties

NameTypeDescription
securityGroupIdsstring[]The ID number for a security group on an instance of your private VPC.
subnetsstring[]The ID for each subnet being used in your private VPC.

securityGroupIds

Type: string[]

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 .


subnets

Type: string[]

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 .