Skip to content
v2.278.0

VpcTransitConfigurationProperty ​

Struct External

Example ​

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
# 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
// 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();
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
// 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 ​

ipv4CidrBlocksstring[]ipv4_cidr_blockstyping.List[str]ipv4CidrBlocksList<String>Ipv4CidrBlocksstring[]Ipv4CidrBlocks*[]*string required #
vpcIdstringvpc_idstrvpcIdStringVpcIdstringVpcId*string required #