CfnRouterNetworkInterfacePropsMixin

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

Bases: Mixin

Represents a router network interface in AWS Elemental MediaConnect that is used to define a network boundary for router resources.

See:

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

CloudformationResource:

AWS::MediaConnect::RouterNetworkInterface

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# 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_router_network_interface_props_mixin = mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin(mediaconnect_mixins.CfnRouterNetworkInterfaceMixinProps(
    configuration=mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.RouterNetworkInterfaceConfigurationProperty(
        public=mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceConfigurationProperty(
            allow_rules=[mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceRuleProperty(
                cidr="cidr"
            )]
        ),
        vpc=mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty(
            security_group_ids=["securityGroupIds"],
            subnet_id="subnetId"
        )
    ),
    name="name",
    region_name="regionName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:

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 = ['configuration', 'name', 'regionName', 'tags']

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

PublicRouterNetworkInterfaceConfigurationProperty

class CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceConfigurationProperty(*, allow_rules=None)

Bases: object

The configuration settings for a public router network interface, including the list of allowed CIDR blocks.

Parameters:

allow_rules (Union[IResolvable, Sequence[Union[IResolvable, PublicRouterNetworkInterfaceRuleProperty, Dict[str, Any]]], None]) – The list of allowed CIDR blocks for the public router network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-publicrouternetworkinterfaceconfiguration.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

public_router_network_interface_configuration_property = mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceConfigurationProperty(
    allow_rules=[mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceRuleProperty(
        cidr="cidr"
    )]
)

Attributes

allow_rules

The list of allowed CIDR blocks for the public router network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-publicrouternetworkinterfaceconfiguration.html#cfn-mediaconnect-routernetworkinterface-publicrouternetworkinterfaceconfiguration-allowrules

PublicRouterNetworkInterfaceRuleProperty

class CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceRuleProperty(*, cidr=None)

Bases: object

A rule that allows a specific CIDR block to access the public router network interface.

Parameters:

cidr (Optional[str]) – The CIDR block that is allowed to access the public router network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-publicrouternetworkinterfacerule.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

public_router_network_interface_rule_property = mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceRuleProperty(
    cidr="cidr"
)

Attributes

cidr

The CIDR block that is allowed to access the public router network interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-publicrouternetworkinterfacerule.html#cfn-mediaconnect-routernetworkinterface-publicrouternetworkinterfacerule-cidr

RouterNetworkInterfaceConfigurationProperty

class CfnRouterNetworkInterfacePropsMixin.RouterNetworkInterfaceConfigurationProperty(*, public=None, vpc=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-routernetworkinterfaceconfiguration.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

router_network_interface_configuration_property = mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.RouterNetworkInterfaceConfigurationProperty(
    public=mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceConfigurationProperty(
        allow_rules=[mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceRuleProperty(
            cidr="cidr"
        )]
    ),
    vpc=mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty(
        security_group_ids=["securityGroupIds"],
        subnet_id="subnetId"
    )
)

Attributes

public

The configuration settings for a public router network interface, including the list of allowed CIDR blocks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-routernetworkinterfaceconfiguration.html#cfn-mediaconnect-routernetworkinterface-routernetworkinterfaceconfiguration-public

vpc

The configuration settings for a router network interface within a VPC, including the security group IDs and subnet ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-routernetworkinterfaceconfiguration.html#cfn-mediaconnect-routernetworkinterface-routernetworkinterfaceconfiguration-vpc

VpcRouterNetworkInterfaceConfigurationProperty

class CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty(*, security_group_ids=None, subnet_id=None)

Bases: object

The configuration settings for a router network interface within a VPC, including the security group IDs and subnet ID.

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – The IDs of the security groups to associate with the router network interface within the VPC.

  • subnet_id (Optional[str]) – The ID of the subnet within the VPC to associate the router network interface with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-vpcrouternetworkinterfaceconfiguration.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

vpc_router_network_interface_configuration_property = mediaconnect_mixins.CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty(
    security_group_ids=["securityGroupIds"],
    subnet_id="subnetId"
)

Attributes

security_group_ids

The IDs of the security groups to associate with the router network interface within the VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-vpcrouternetworkinterfaceconfiguration.html#cfn-mediaconnect-routernetworkinterface-vpcrouternetworkinterfaceconfiguration-securitygroupids

subnet_id

The ID of the subnet within the VPC to associate the router network interface with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-routernetworkinterface-vpcrouternetworkinterfaceconfiguration.html#cfn-mediaconnect-routernetworkinterface-vpcrouternetworkinterfaceconfiguration-subnetid