# VpcConfigurationProperty

Struct · External

The Virtual Private Cloud (VPC) configuration for a bucket access point.

- Source: Generated at build time
- Type last changed: v2.200.0 · 2 Jun 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3express as s3express } from 'aws-cdk-lib';
const vpcConfigurationProperty: s3express.CfnAccessPoint.VpcConfigurationProperty = {
  vpcId: 'vpcId',
};
```

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_s3express as s3express

vpc_configuration_property = s3express.CfnAccessPoint.VpcConfigurationProperty(
    vpc_id="vpcId"
)
```

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.s3express.*;

VpcConfigurationProperty vpcConfigurationProperty = VpcConfigurationProperty.builder()
        .vpcId("vpcId")
        .build();
```

C#:

```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.S3Express;

var vpcConfigurationProperty = new VpcConfigurationProperty {
    VpcId = "vpcId"
};
```

Go:

```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"

vpcConfigurationProperty := &VpcConfigurationProperty{
	VpcId: jsii.String("vpcId"),
}
```

## Properties

- `vpcId`: string — If this field is specified, this access point will only allow connections from the specified VPC ID.
