GatewayProps

class aws_cdk.aws_mediaconnect_alpha.GatewayProps(*, egress_cidr_blocks, networks, gateway_name=None)

Bases: object

(experimental) Properties for the MediaConnect Gateway.

Parameters:
  • egress_cidr_blocks (Sequence[str]) – (experimental) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

  • networks (Sequence[GatewayNetwork]) – (experimental) The list of networks in the gateway. A gateway must have between 1 and 4 networks. Provide the initial set here; use addNetwork() to add more (up to 4 total).

  • gateway_name (Optional[str]) – (experimental) The name of the gateway. This name can not be modified after the gateway is created. Default: - autogenerated

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

egress_cidr_blocks

(experimental) The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.

These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

Stability:

experimental

gateway_name

(experimental) The name of the gateway.

This name can not be modified after the gateway is created.

Default:
  • autogenerated

Stability:

experimental

networks

(experimental) The list of networks in the gateway.

A gateway must have between 1 and 4 networks. Provide the initial set here; use addNetwork() to add more (up to 4 total).

Stability:

experimental