# CapacityProviderVpcConfigProperty

VPC configuration that specifies the network settings for compute instances managed by the capacity provider.

- Source: Generated code
- Type last changed: v2.231.0 · 1 Dec 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const capacityProviderVpcConfigProperty: lambda.CfnCapacityProvider.CapacityProviderVpcConfigProperty = {
  securityGroupIds: ['securityGroupIds'],
  subnetIds: ['subnetIds'],
};
```

## Properties

- `securityGroupIds`: string[] (required) — A list of security group IDs that control network access for compute instances managed by the capacity provider.

- `subnetIds`: string[] (required) — A list of subnet IDs where the capacity provider launches compute instances.
