

# VpcConfig


Amazon Virtual Private Cloud configuration details associated with your Lambda function.

## Contents


 ** securityGroups **   <a name="guardduty-Type-VpcConfig-securityGroups"></a>
The identifier of the security group attached to the Lambda function.  
Type: Array of [SecurityGroup](API_SecurityGroup.md) objects  
Required: No

 ** subnetIds **   <a name="guardduty-Type-VpcConfig-subnetIds"></a>
The identifiers of the subnets that are associated with your Lambda function.  
Type: Array of strings  
Required: No

 ** vpcId **   <a name="guardduty-Type-VpcConfig-vpcId"></a>
The identifier of the Amazon Virtual Private Cloud.  
Type: String  
Required: No

## See Also


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