GatewayNetworkDefineProps

class aws_cdk.aws_mediaconnect_alpha.GatewayNetworkDefineProps(*, cidr_block, name)

Bases: object

(experimental) Properties for defining a Gateway network.

Parameters:
  • cidr_block (str) – (experimental) A unique IP address range to use for this network. Must be in CIDR notation (for example, 10.0.0.0/16).

  • name (str) – (experimental) 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.

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack


production_network = GatewayNetwork.define(
    cidr_block="192.168.1.0/24",
    name="production-network"
)

gateway = Gateway(stack, "MyGateway",
    gateway_name="my-gateway",
    egress_cidr_blocks=["10.0.0.0/16"],
    networks=[production_network]
)

Attributes

cidr_block

(experimental) A unique IP address range to use for this network.

Must be in CIDR notation (for example, 10.0.0.0/16).

Stability:

experimental

name

(experimental) 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.

Stability:

experimental