

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::QBusiness::DataSource DataSourceVpcConfiguration
<a name="aws-properties-qbusiness-datasource-datasourcevpcconfiguration"></a>

Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).

## Syntax
<a name="aws-properties-qbusiness-datasource-datasourcevpcconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-qbusiness-datasource-datasourcevpcconfiguration-syntax.json"></a>

```
{
  "[SecurityGroupIds](#cfn-qbusiness-datasource-datasourcevpcconfiguration-securitygroupids)" : [ String, ... ],
  "[SubnetIds](#cfn-qbusiness-datasource-datasourcevpcconfiguration-subnetids)" : [ String, ... ]
}
```

### YAML
<a name="aws-properties-qbusiness-datasource-datasourcevpcconfiguration-syntax.yaml"></a>

```
  [SecurityGroupIds](#cfn-qbusiness-datasource-datasourcevpcconfiguration-securitygroupids): 
    - String
  [SubnetIds](#cfn-qbusiness-datasource-datasourcevpcconfiguration-subnetids): 
    - String
```

## Properties
<a name="aws-properties-qbusiness-datasource-datasourcevpcconfiguration-properties"></a>

`SecurityGroupIds`  <a name="cfn-qbusiness-datasource-datasourcevpcconfiguration-securitygroupids"></a>
A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source.  
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1 | 1`  
*Maximum*: `200 | 10`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SubnetIds`  <a name="cfn-qbusiness-datasource-datasourcevpcconfiguration-subnetids"></a>
A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.  
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)