CfnGatewayPropsMixin

class aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnGatewayPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::MediaConnect::Gateway resource is used to create a new gateway.

AWS Elemental MediaConnect Gateway is a feature of MediaConnect that allows the deployment of on-premises resources for transporting live video to and from the AWS Cloud. MediaConnect Gateway allows you to contribute live video to the AWS Cloud from on-premises hardware, as well as distribute live video from the AWS Cloud to your local data center.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-gateway.html

CloudformationResource:

AWS::MediaConnect::Gateway

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_mediaconnect import mixins as mediaconnect_mixins

cfn_gateway_props_mixin = mediaconnect_mixins.CfnGatewayPropsMixin(mediaconnect_mixins.CfnGatewayMixinProps(
    egress_cidr_blocks=["egressCidrBlocks"],
    name="name",
    networks=[mediaconnect_mixins.CfnGatewayPropsMixin.GatewayNetworkProperty(
        cidr_block="cidrBlock",
        name="name"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::MediaConnect::Gateway.

Parameters:
  • props (Union[CfnGatewayMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['egressCidrBlocks', 'name', 'networks']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

GatewayNetworkProperty

class CfnGatewayPropsMixin.GatewayNetworkProperty(*, cidr_block=None, name=None)

Bases: object

The network settings for a gateway.

Parameters:
  • cidr_block (Optional[str]) – A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

  • name (Optional[str]) – The name of the network. This name is used to reference the network and must be unique among networks in this gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-gateway-gatewaynetwork.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_mediaconnect import mixins as mediaconnect_mixins

gateway_network_property = mediaconnect_mixins.CfnGatewayPropsMixin.GatewayNetworkProperty(
    cidr_block="cidrBlock",
    name="name"
)

Attributes

cidr_block

A unique IP address range to use for this network.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-gateway-gatewaynetwork.html#cfn-mediaconnect-gateway-gatewaynetwork-cidrblock

name

The name of the network.

This name is used to reference the network and must be unique among networks in this gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-gateway-gatewaynetwork.html#cfn-mediaconnect-gateway-gatewaynetwork-name