# AWS::MSK::ServerlessCluster VpcConfig ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"SecurityGroups" : [ String, ... ],
"SubnetIds" : [ String, ... ]
}
### YAML
SecurityGroups:
- String
SubnetIds:
- String
## Properties
#### SecurityGroups
_Required_: No
_Type_: List of String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### SubnetIds
_Required_: Yes
_Type_: List of String
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)