CfnRouterNetworkInterfacePropsMixin
- class aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnRouterNetworkInterfacePropsMixin(props, *, strategy=None)
Bases:
MixinRepresents a router network interface in AWS Elemental MediaConnect that is used to define a network boundary for router resources.
- See:
- 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:
props (
Union[CfnRouterNetworkInterfaceMixinProps,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:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
PublicRouterNetworkInterfaceConfigurationProperty
- class CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceConfigurationProperty(*, allow_rules=None)
Bases:
objectThe 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:
- 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.
PublicRouterNetworkInterfaceRuleProperty
- class CfnRouterNetworkInterfacePropsMixin.PublicRouterNetworkInterfaceRuleProperty(*, cidr=None)
Bases:
objectA 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:
- 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.
RouterNetworkInterfaceConfigurationProperty
- class CfnRouterNetworkInterfacePropsMixin.RouterNetworkInterfaceConfigurationProperty(*, public=None, vpc=None)
Bases:
object- Parameters:
public (
Union[IResolvable,PublicRouterNetworkInterfaceConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a public router network interface, including the list of allowed CIDR blocks.vpc (
Union[IResolvable,VpcRouterNetworkInterfaceConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router network interface within a VPC, including the security group IDs and subnet ID.
- See:
- 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.
- vpc
The configuration settings for a router network interface within a VPC, including the security group IDs and subnet ID.
VpcRouterNetworkInterfaceConfigurationProperty
- class CfnRouterNetworkInterfacePropsMixin.VpcRouterNetworkInterfaceConfigurationProperty(*, security_group_ids=None, subnet_id=None)
Bases:
objectThe 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:
- 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.
- subnet_id
The ID of the subnet within the VPC to associate the router network interface with.