# VpcConfigProperty

Customer VPC configuration that the security testing environment accesses.

- Source: Generated at build time
- Type last changed: v2.249.0 · 13 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const vpcConfigProperty: securityagent.CfnAgentSpace.VpcConfigProperty = {
  securityGroupArns: ['securityGroupArns'],
  subnetArns: ['subnetArns'],
  vpcArn: 'vpcArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityagent as securityagent

vpc_config_property = securityagent.CfnAgentSpace.VpcConfigProperty(
    security_group_arns=["securityGroupArns"],
    subnet_arns=["subnetArns"],
    vpc_arn="vpcArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityagent.*;

VpcConfigProperty vpcConfigProperty = VpcConfigProperty.builder()
        .securityGroupArns(List.of("securityGroupArns"))
        .subnetArns(List.of("subnetArns"))
        .vpcArn("vpcArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityAgent;

var vpcConfigProperty = new VpcConfigProperty {
    SecurityGroupArns = new [] { "securityGroupArns" },
    SubnetArns = new [] { "subnetArns" },
    VpcArn = "vpcArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vpcConfigProperty := &VpcConfigProperty{
	SecurityGroupArns: []*string{
		jsii.String("securityGroupArns"),
	},
	SubnetArns: []*string{
		jsii.String("subnetArns"),
	},
	VpcArn: jsii.String("vpcArn"),
}
```

## Properties

- `securityGroupArns`: string[] — List of security group ARNs in the customer VPC.

- `subnetArns`: string[] — List of subnet ARNs in the customer VPC.

- `vpcArn`: string — ARN of the customer VPC.
