Skip to content
v2.275.0

VpcConfigurationProperty Struct ​

VPC configuration for launching EC2 instances.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const vpcConfigurationProperty: bedrockagentcore.CfnCapacityProvider.VpcConfigurationProperty = {
  securityGroups: ['securityGroups'],
  subnets: ['subnets'],
};

Properties ​

securityGroupsstring[]security_groupstyping.List[str]securityGroupsList<String>SecurityGroupsstring[]SecurityGroups*[]*stringrequired#
The IDs of the security groups to associate with the instances.
subnetsstring[]subnetstyping.List[str]subnetsList<String>Subnetsstring[]Subnets*[]*stringrequired#
The IDs of the subnets in which to launch instances.