InputNetworkLocation

class aws_cdk.aws_medialive_alpha.InputNetworkLocation(*args: Any, **kwargs)

Bases: object

(experimental) The network location of a MediaLive input — the AWS cloud, or an on-premises network for MediaLive Anywhere.

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack


network = medialive.Network(stack, "Network",
    network_name="on-prem-network",
    ip_pools=["192.168.1.0/24"]
)

medialive.Input(stack, "OnPremInput",
    input_name="on-prem-rtp",
    input_network_location=medialive.InputNetworkLocation.ON_PREMISES,
    input=medialive.InputConfiguration.rtp_push(
        destinations=[medialive.PushInputDestination(
            network=network,
            network_routes=[medialive.NetworkRoute(cidr="10.0.0.0/24", gateway="10.0.0.1")],
            static_ip_address="192.168.1.50"
        )]
    )
)

Attributes

AWS = <aws_cdk.aws_medialive_alpha.InputNetworkLocation object>
ON_PREMISES = <aws_cdk.aws_medialive_alpha.InputNetworkLocation object>
value

(experimental) The underlying string value passed to CloudFormation.

Stability:

experimental

Static Methods

classmethod of(value)

(experimental) A value not yet modelled by AWS CDK.

Parameters:

value (str)

Stability:

experimental

Return type:

InputNetworkLocation