

# VpcConfig
<a name="API_VpcConfig"></a>

The VPC configuration for a pentest, specifying the VPC, security groups, and subnets to use during testing.

## Contents
<a name="API_VpcConfig_Contents"></a>

 ** securityGroupArns **   <a name="securityagent-Type-VpcConfig-securityGroupArns"></a>
The Amazon Resource Names (ARNs) of the security groups for the VPC configuration.  
Type: Array of strings  
Required: No

 ** subnetArns **   <a name="securityagent-Type-VpcConfig-subnetArns"></a>
The Amazon Resource Names (ARNs) of the subnets for the VPC configuration.  
Type: Array of strings  
Required: No

 ** vpcArn **   <a name="securityagent-Type-VpcConfig-vpcArn"></a>
The Amazon Resource Name (ARN) of the VPC.  
Type: String  
Required: No

## See Also
<a name="API_VpcConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/securityagent-2025-09-06/VpcConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityagent-2025-09-06/VpcConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityagent-2025-09-06/VpcConfig) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS Security Agent. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query securityagent` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
