interface GatewayNetworkDefineProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.GatewayNetworkDefineProps |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#GatewayNetworkDefineProps |
Java | software.amazon.awscdk.services.mediaconnect.alpha.GatewayNetworkDefineProps |
Python | aws_cdk.aws_mediaconnect_alpha.GatewayNetworkDefineProps |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป GatewayNetworkDefineProps |
Properties for defining a Gateway network.
Example
declare const stack: Stack;
const productionNetwork = GatewayNetwork.define({
cidrBlock: '192.168.1.0/24',
name: 'production-network',
});
const gateway = new Gateway(stack, 'MyGateway', {
gatewayName: 'my-gateway',
egressCidrBlocks: ['10.0.0.0/16'],
networks: [productionNetwork],
});
Properties
| Name | Type | Description |
|---|---|---|
| cidr | string | A unique IP address range to use for this network. |
| name | string | The name of the network. |
cidrBlock
Type:
string
A unique IP address range to use for this network.
Must be in CIDR notation
(for example, 10.0.0.0/16).
name
Type:
string
The name of the network.
Used to reference this network from bridge sources and outputs, and must be unique among the networks on the gateway.
Maximum 64 characters; alphanumeric, hyphens, and underscores only.

.NET
Go
Java
Python
TypeScript (