VpcConfigProperty Struct
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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.CfnEntityRecognizer.VpcConfigProperty = {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_comprehend as comprehend
vpc_config_property = comprehend.CfnEntityRecognizer.VpcConfigProperty(
security_group_ids=["securityGroupIds"],
subnets=["subnets"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.comprehend.*;
VpcConfigProperty vpcConfigProperty = VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Comprehend;
var vpcConfigProperty = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vpcConfigProperty := &VpcConfigProperty{
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
Subnets: []*string{
jsii.String("subnets"),
},
}
Properties
securityGroupIdsstring[]security_group_idstyping.List[str]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]*string required #The ID number for a security group on an instance of your private VPC.
subnetsstring[]subnetstyping.List[str]subnetsList<String>Subnetsstring[]Subnets*[]*string required #The ID for each subnet being used in your private VPC.