# VpcTransitConfigurationProperty

Struct · External

- Source: Generated at build time
- Type last changed: v2.245.0 · 27 Mar 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_gameliftstreams as gameliftstreams } from 'aws-cdk-lib';
const vpcTransitConfigurationProperty: gameliftstreams.CfnStreamGroup.VpcTransitConfigurationProperty = {
  ipv4CidrBlocks: ['ipv4CidrBlocks'],
  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_gameliftstreams as gameliftstreams

vpc_transit_configuration_property = gameliftstreams.CfnStreamGroup.VpcTransitConfigurationProperty(
    ipv4_cidr_blocks=["ipv4CidrBlocks"],
    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.gameliftstreams.*;

VpcTransitConfigurationProperty vpcTransitConfigurationProperty = VpcTransitConfigurationProperty.builder()
        .ipv4CidrBlocks(List.of("ipv4CidrBlocks"))
        .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.GameLiftStreams;

var vpcTransitConfigurationProperty = new VpcTransitConfigurationProperty {
    Ipv4CidrBlocks = new [] { "ipv4CidrBlocks" },
    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"

vpcTransitConfigurationProperty := &VpcTransitConfigurationProperty{
	Ipv4CidrBlocks: []*string{
		jsii.String("ipv4CidrBlocks"),
	},
	VpcId: jsii.String("vpcId"),
}
```

## Properties

- `ipv4CidrBlocks`: string[] (required)

- `vpcId`: string (required)
