CapacityProviderVpcConfigProperty Struct
VPC configuration that specifies the network settings for compute instances managed by the capacity provider.
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
securityGroupIdsstring[]security_group_idstyping.List[str]securityGroupIdsList<String>SecurityGroupIdsstring[]SecurityGroupIds*[]*stringrequired#A list of security group IDs that control network access for compute instances managed by the capacity provider.
subnetIdsstring[]subnet_idstyping.List[str]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]*stringrequired#A list of subnet IDs where the capacity provider launches compute instances.