CfnRouterInput
- class aws_cdk.aws_mediaconnect.CfnRouterInput(scope, id, *, configuration, maximum_bitrate, name, routing_scope, tier, availability_zone=None, maintenance_configuration=None, region_name=None, tags=None, transit_encryption=None)
Bases:
CfnResourceRepresents a router input in AWS Elemental MediaConnect that is used to ingest content to be transmitted to router outputs.
- See:
- CloudformationResource:
AWS::MediaConnect::RouterInput
- 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 import aws_mediaconnect as mediaconnect # automatic: Any # default_: Any cfn_router_input = mediaconnect.CfnRouterInput(self, "MyCfnRouterInput", configuration=mediaconnect.CfnRouterInput.RouterInputConfigurationProperty( failover=mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty( network_interface_arn="networkInterfaceArn", protocol_configurations=[mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) )], source_priority_mode="sourcePriorityMode", # the properties below are optional primary_source_index=123 ), media_connect_flow=mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty( source_transit_decryption=mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty( encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), # the properties below are optional encryption_key_type="encryptionKeyType" ), # the properties below are optional flow_arn="flowArn", flow_output_arn="flowOutputArn" ), merge=mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty( merge_recovery_window_milliseconds=123, network_interface_arn="networkInterfaceArn", protocol_configurations=[mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ) )] ), standard=mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty( network_interface_arn="networkInterfaceArn", protocol_configuration=mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) ), # the properties below are optional protocol="protocol" ) ), maximum_bitrate=123, name="name", routing_scope="routingScope", tier="tier", # the properties below are optional availability_zone="availabilityZone", maintenance_configuration=mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty( default=default_, preferred_day_time=mediaconnect.CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty( day="day", time="time" ) ), region_name="regionName", tags=[CfnTag( key="key", value="value" )], transit_encryption=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty( encryption_key_configuration=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), # the properties below are optional encryption_key_type="encryptionKeyType" ) )
Create a new
AWS::MediaConnect::RouterInput.- Parameters:
scope (
Construct) – Scope in which this resource is defined.id (
str) – Construct identifier for this resource (unique in its scope).configuration (
Union[IResolvable,RouterInputConfigurationProperty,Dict[str,Any]]) – The configuration settings for a router input.maximum_bitrate (
Union[int,float]) – The maximum bitrate for the router input.name (
str) – The name of the router input.routing_scope (
str)tier (
str)availability_zone (
Optional[str]) – The Availability Zone where you want to create the router input. This must be a valid Availability Zone for the region specified by regionName, or the current region if no regionName is provided.maintenance_configuration (
Union[IResolvable,MaintenanceConfigurationProperty,Dict[str,Any],None]) – The configuration settings for maintenance operations, including preferred maintenance windows and schedules.region_name (
Optional[str]) – The AWS Region for the router input. Defaults to the current region if not specified.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Key-value pairs that can be used to tag and organize this router input.transit_encryption (
Union[IResolvable,RouterInputTransitEncryptionProperty,Dict[str,Any],None]) – Information about the encryption of the flow.
Methods
- add_deletion_override(path)
Syntactic sugar for
addOverride(path, undefined).- Parameters:
path (
str) – The path of the value to delete.- Return type:
None
- add_dependency(target)
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Parameters:
target (
CfnResource)- Return type:
None
- add_depends_on(target)
(deprecated) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
- Parameters:
target (
CfnResource)- Deprecated:
use addDependency
- Stability:
deprecated
- Return type:
None
- add_metadata(key, value)
Add a value to the CloudFormation Resource Metadata.
- Parameters:
key (
str)value (
Any)
- See:
- Return type:
None
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- add_override(path, value)
Adds an override to the synthesized CloudFormation resource.
To add a property override, either use
addPropertyOverrideor prefixpathwith “Properties.” (i.e.Properties.TopicName).If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal
.in the property name, prefix with a\. In most programming languages you will need to write this as"\\."because the\itself will need to be escaped.For example:
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"]) cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")
would add the overrides Example:
"Properties": { "GlobalSecondaryIndexes": [ { "Projection": { "NonKeyAttributes": [ "myattribute" ] ... } ... }, { "ProjectionType": "INCLUDE" ... }, ] ... }
The
valueargument toaddOverridewill not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.- Parameters:
path (
str) –The path of the property, you can use dot notation to override values in complex types. Any intermediate keys will be created as needed.
value (
Any) –The value. Could be primitive or complex.
- Return type:
None
- add_property_deletion_override(property_path)
Adds an override that deletes the value of a property from the resource definition.
- Parameters:
property_path (
str) – The path to the property.- Return type:
None
- add_property_override(property_path, value)
Adds an override to a resource property.
Syntactic sugar for
addOverride("Properties.<...>", value).- Parameters:
property_path (
str) – The path of the property.value (
Any) – The value.
- Return type:
None
- apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN). In some cases, a snapshot can be taken of the resource prior to deletion (RemovalPolicy.SNAPSHOT). A list of resources that support this policy can be found in the following link:- Parameters:
policy (
Optional[RemovalPolicy])apply_to_update_replace_policy (
Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: truedefault (
Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resource, please consult that specific resource’s documentation.
- See:
- Return type:
None
- get_att(attribute_name, type_hint=None)
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g.
resource.arn), but this can be used for future compatibility in case there is no generated attribute.- Parameters:
attribute_name (
str) – The name of the attribute.type_hint (
Optional[ResolutionTypeHint])
- Return type:
- get_metadata(key)
Retrieve a value value from the CloudFormation Resource Metadata.
- Parameters:
key (
str)- See:
- Return type:
Any
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- inspect(inspector)
Examines the CloudFormation resource and discloses attributes.
- Parameters:
inspector (
TreeInspector) – tree inspector to collect and process attributes.- Return type:
None
- obtain_dependencies()
Retrieves an array of resources this resource depends on.
This assembles dependencies on resources across stacks (including nested stacks) automatically.
- Return type:
List[Union[Stack,CfnResource]]
- obtain_resource_dependencies()
Get a shallow copy of dependencies between this resource and other resources in the same stack.
- Return type:
List[CfnResource]
- override_logical_id(new_logical_id)
Overrides the auto-generated logical ID with a specific ID.
- Parameters:
new_logical_id (
str) – The new logical ID to use for this stack element.- Return type:
None
- remove_dependency(target)
Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Parameters:
target (
CfnResource)- Return type:
None
- replace_dependency(target, new_target)
Replaces one dependency with another.
- Parameters:
target (
CfnResource) – The dependency to replace.new_target (
CfnResource) – The new dependency to add.
- Return type:
None
- to_string()
Returns a string representation of this construct.
- Return type:
str- Returns:
a string representation of this resource
Attributes
- CFN_RESOURCE_TYPE_NAME = 'AWS::MediaConnect::RouterInput'
- attr_arn
Arn
- Type:
cloudformationAttribute
- attr_created_at
The timestamp when the router input was created.
- CloudformationAttribute:
CreatedAt
- attr_id
The unique identifier of the router input.
- CloudformationAttribute:
Id
- attr_input_type
InputType
- Type:
cloudformationAttribute
- attr_ip_address
The IP address of the router input.
- CloudformationAttribute:
IpAddress
- attr_maintenance_type
MaintenanceType
- Type:
cloudformationAttribute
- attr_routed_outputs
The number of router outputs associated with the router input.
- CloudformationAttribute:
RoutedOutputs
- attr_state
State
- Type:
cloudformationAttribute
- attr_updated_at
The timestamp when the router input was last updated.
- CloudformationAttribute:
UpdatedAt
- availability_zone
The Availability Zone where you want to create the router input.
- cdk_tag_manager
Tag Manager which manages the tags for this resource.
- cfn_options
Options for this resource, such as condition, update policy etc.
- cfn_resource_type
AWS resource type.
- configuration
The configuration settings for a router input.
- creation_stack
return:
the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.
- env
- logical_id
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use
overrideLogicalId(newLogicalId).- Returns:
the logical ID as a stringified token. This value will only get resolved during synthesis.
- maintenance_configuration
The configuration settings for maintenance operations, including preferred maintenance windows and schedules.
- maximum_bitrate
The maximum bitrate for the router input.
- name
The name of the router input.
- node
The tree node.
- ref
Return a string that will be resolved to a CloudFormation
{ Ref }for this element.If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through
Lazy.any({ produce: resource.ref }).
- region_name
The AWS Region for the router input.
- router_input_ref
A reference to a RouterInput resource.
- routing_scope
- stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
- tags
Key-value pairs that can be used to tag and organize this router input.
- tier
- transit_encryption
Information about the encryption of the flow.
Static Methods
- classmethod arn_for_router_input(resource)
- Parameters:
resource (
IRouterInputRef)- Return type:
str
- classmethod is_cfn_element(x)
Returns
trueif a construct is a stack element (i.e. part of the synthesized cloudformation template).Uses duck-typing instead of
instanceofto allow stack elements from different versions of this library to be included in the same stack.- Parameters:
x (
Any)- Return type:
bool- Returns:
The construct as a stack element or undefined if it is not a stack element.
- classmethod is_cfn_resource(x)
Check whether the given object is a CfnResource.
- Parameters:
x (
Any)- Return type:
bool
- classmethod is_construct(x)
Checks if
xis a construct.Use this method instead of
instanceofto properly detectConstructinstances, even when the construct library is symlinked.Explanation: in JavaScript, multiple copies of the
constructslibrary on disk are seen as independent, completely different libraries. As a consequence, the classConstructin each copy of theconstructslibrary is seen as a different class, and an instance of one class will not test asinstanceofthe other class.npm installwill not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of theconstructslibrary can be accidentally installed, andinstanceofwill behave unpredictably. It is safest to avoid usinginstanceof, and using this type-testing method instead.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsConstruct.
FailoverRouterInputConfigurationProperty
- class CfnRouterInput.FailoverRouterInputConfigurationProperty(*, network_interface_arn, protocol_configurations, source_priority_mode, primary_source_index=None)
Bases:
objectConfiguration settings for a failover router input that allows switching between two input sources.
- Parameters:
network_interface_arn (
str) – The ARN of the network interface to use for this failover router input.protocol_configurations (
Union[IResolvable,Sequence[Union[IResolvable,FailoverRouterInputProtocolConfigurationProperty,Dict[str,Any]]]]) – A list of exactly two protocol configurations for the failover input sources. Both must use the same protocol type.source_priority_mode (
str)primary_source_index (
Union[int,float,None]) – The index (0 or 1) that specifies which source in the protocol configurations list is currently active. Used to control which of the two failover sources is currently selected. This field is ignored when sourcePriorityMode is set to NO_PRIORITY
- 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 import aws_mediaconnect as mediaconnect failover_router_input_configuration_property = mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty( network_interface_arn="networkInterfaceArn", protocol_configurations=[mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) )], source_priority_mode="sourcePriorityMode", # the properties below are optional primary_source_index=123 )
Attributes
- network_interface_arn
The ARN of the network interface to use for this failover router input.
- primary_source_index
The index (0 or 1) that specifies which source in the protocol configurations list is currently active.
Used to control which of the two failover sources is currently selected. This field is ignored when sourcePriorityMode is set to NO_PRIORITY
- protocol_configurations
A list of exactly two protocol configurations for the failover input sources.
Both must use the same protocol type.
FailoverRouterInputProtocolConfigurationProperty
- class CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty(*, rist=None, rtp=None, srt_caller=None, srt_listener=None)
Bases:
object- Parameters:
rist (
Union[IResolvable,RistRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.rtp (
Union[IResolvable,RtpRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.srt_caller (
Union[IResolvable,SrtCallerRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.srt_listener (
Union[IResolvable,SrtListenerRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and decryption key configuration.
- 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 import aws_mediaconnect as mediaconnect failover_router_input_protocol_configuration_property = mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) )
Attributes
- rist
The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.
- rtp
The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.
- srt_caller
The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.
- srt_listener
The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and decryption key configuration.
FlowTransitEncryptionKeyConfigurationProperty
- class CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty(*, automatic=None, secrets_manager=None)
Bases:
object- Parameters:
automatic (
Any) – Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.secrets_manager (
Union[IResolvable,SecretsManagerEncryptionKeyConfigurationProperty,Dict[str,Any],None]) – The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.
- 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 import aws_mediaconnect as mediaconnect # automatic: Any flow_transit_encryption_key_configuration_property = mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) )
Attributes
- automatic
Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.
- secrets_manager
The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.
FlowTransitEncryptionProperty
- class CfnRouterInput.FlowTransitEncryptionProperty(*, encryption_key_configuration, encryption_key_type=None)
Bases:
objectThe configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.
- Parameters:
encryption_key_configuration (
Union[IResolvable,FlowTransitEncryptionKeyConfigurationProperty,Dict[str,Any]]) – Configuration settings for flow transit encryption keys.encryption_key_type (
Optional[str])
- 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 import aws_mediaconnect as mediaconnect # automatic: Any flow_transit_encryption_property = mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty( encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), # the properties below are optional encryption_key_type="encryptionKeyType" )
Attributes
- encryption_key_configuration
Configuration settings for flow transit encryption keys.
MaintenanceConfigurationProperty
- class CfnRouterInput.MaintenanceConfigurationProperty(*, default=None, preferred_day_time=None)
Bases:
object- Parameters:
default (
Any) – Configuration settings for default maintenance scheduling.preferred_day_time (
Union[IResolvable,PreferredDayTimeMaintenanceConfigurationProperty,Dict[str,Any],None]) – Configuration for preferred day and time maintenance settings.
- 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 import aws_mediaconnect as mediaconnect # default_: Any maintenance_configuration_property = mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty( default=default_, preferred_day_time=mediaconnect.CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty( day="day", time="time" ) )
Attributes
- default
Configuration settings for default maintenance scheduling.
- preferred_day_time
Configuration for preferred day and time maintenance settings.
MediaConnectFlowRouterInputConfigurationProperty
- class CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty(*, source_transit_decryption, flow_arn=None, flow_output_arn=None)
Bases:
objectConfiguration settings for connecting a router input to a flow output.
- Parameters:
source_transit_decryption (
Union[IResolvable,FlowTransitEncryptionProperty,Dict[str,Any]]) – The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.flow_arn (
Optional[str]) – The ARN of the flow to connect to.flow_output_arn (
Optional[str]) – The ARN of the flow output to connect to this router input.
- 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 import aws_mediaconnect as mediaconnect # automatic: Any media_connect_flow_router_input_configuration_property = mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty( source_transit_decryption=mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty( encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), # the properties below are optional encryption_key_type="encryptionKeyType" ), # the properties below are optional flow_arn="flowArn", flow_output_arn="flowOutputArn" )
Attributes
- flow_arn
The ARN of the flow to connect to.
- flow_output_arn
The ARN of the flow output to connect to this router input.
- source_transit_decryption
The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.
MergeRouterInputConfigurationProperty
- class CfnRouterInput.MergeRouterInputConfigurationProperty(*, merge_recovery_window_milliseconds, network_interface_arn, protocol_configurations)
Bases:
objectConfiguration settings for a merge router input that combines two input sources.
- Parameters:
merge_recovery_window_milliseconds (
Union[int,float]) – The time window in milliseconds for merging the two input sources.network_interface_arn (
str) – The ARN of the network interface to use for this merge router input.protocol_configurations (
Union[IResolvable,Sequence[Union[IResolvable,MergeRouterInputProtocolConfigurationProperty,Dict[str,Any]]]]) – A list of exactly two protocol configurations for the merge input sources. Both must use the same protocol type.
- 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 import aws_mediaconnect as mediaconnect merge_router_input_configuration_property = mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty( merge_recovery_window_milliseconds=123, network_interface_arn="networkInterfaceArn", protocol_configurations=[mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ) )] )
Attributes
- merge_recovery_window_milliseconds
The time window in milliseconds for merging the two input sources.
- network_interface_arn
The ARN of the network interface to use for this merge router input.
- protocol_configurations
A list of exactly two protocol configurations for the merge input sources.
Both must use the same protocol type.
MergeRouterInputProtocolConfigurationProperty
- class CfnRouterInput.MergeRouterInputProtocolConfigurationProperty(*, rist=None, rtp=None)
Bases:
object- Parameters:
rist (
Union[IResolvable,RistRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.rtp (
Union[IResolvable,RtpRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.
- 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 import aws_mediaconnect as mediaconnect merge_router_input_protocol_configuration_property = mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ) )
Attributes
- rist
The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.
- rtp
The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.
PreferredDayTimeMaintenanceConfigurationProperty
- class CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty(*, day, time)
Bases:
objectConfiguration for preferred day and time maintenance settings.
- Parameters:
day (
str)time (
str) – The preferred time for maintenance operations.
- 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 import aws_mediaconnect as mediaconnect preferred_day_time_maintenance_configuration_property = mediaconnect.CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty( day="day", time="time" )
Attributes
- day
-
- Type:
see
- time
The preferred time for maintenance operations.
RistRouterInputConfigurationProperty
- class CfnRouterInput.RistRouterInputConfigurationProperty(*, port, recovery_latency_milliseconds)
Bases:
objectThe configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.
- Parameters:
port (
Union[int,float]) – The port number used for the RIST protocol in the router input configuration.recovery_latency_milliseconds (
Union[int,float]) – The recovery latency in milliseconds for the RIST protocol in the router input configuration.
- 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 import aws_mediaconnect as mediaconnect rist_router_input_configuration_property = mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 )
Attributes
- port
The port number used for the RIST protocol in the router input configuration.
- recovery_latency_milliseconds
The recovery latency in milliseconds for the RIST protocol in the router input configuration.
RouterInputConfigurationProperty
- class CfnRouterInput.RouterInputConfigurationProperty(*, failover=None, media_connect_flow=None, merge=None, standard=None)
Bases:
object- Parameters:
failover (
Union[IResolvable,FailoverRouterInputConfigurationProperty,Dict[str,Any],None]) – Configuration settings for a failover router input that allows switching between two input sources.media_connect_flow (
Union[IResolvable,MediaConnectFlowRouterInputConfigurationProperty,Dict[str,Any],None]) – Configuration settings for connecting a router input to a flow output.merge (
Union[IResolvable,MergeRouterInputConfigurationProperty,Dict[str,Any],None]) – Configuration settings for a merge router input that combines two input sources.standard (
Union[IResolvable,StandardRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a standard router input, including the protocol, protocol-specific configuration, network interface, and availability zone.
- 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 import aws_mediaconnect as mediaconnect # automatic: Any router_input_configuration_property = mediaconnect.CfnRouterInput.RouterInputConfigurationProperty( failover=mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty( network_interface_arn="networkInterfaceArn", protocol_configurations=[mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) )], source_priority_mode="sourcePriorityMode", # the properties below are optional primary_source_index=123 ), media_connect_flow=mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty( source_transit_decryption=mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty( encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), # the properties below are optional encryption_key_type="encryptionKeyType" ), # the properties below are optional flow_arn="flowArn", flow_output_arn="flowOutputArn" ), merge=mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty( merge_recovery_window_milliseconds=123, network_interface_arn="networkInterfaceArn", protocol_configurations=[mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ) )] ), standard=mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty( network_interface_arn="networkInterfaceArn", protocol_configuration=mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) ), # the properties below are optional protocol="protocol" ) )
Attributes
- failover
Configuration settings for a failover router input that allows switching between two input sources.
- media_connect_flow
Configuration settings for connecting a router input to a flow output.
- merge
Configuration settings for a merge router input that combines two input sources.
- standard
The configuration settings for a standard router input, including the protocol, protocol-specific configuration, network interface, and availability zone.
RouterInputProtocolConfigurationProperty
- class CfnRouterInput.RouterInputProtocolConfigurationProperty(*, rist=None, rtp=None, srt_caller=None, srt_listener=None)
Bases:
object- Parameters:
rist (
Union[IResolvable,RistRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.rtp (
Union[IResolvable,RtpRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.srt_caller (
Union[IResolvable,SrtCallerRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.srt_listener (
Union[IResolvable,SrtListenerRouterInputConfigurationProperty,Dict[str,Any],None]) – The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and decryption key configuration.
- 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 import aws_mediaconnect as mediaconnect router_input_protocol_configuration_property = mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) )
Attributes
- rist
The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.
- rtp
The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.
- srt_caller
The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.
- srt_listener
The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and decryption key configuration.
RouterInputTransitEncryptionKeyConfigurationProperty
- class CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty(*, automatic=None, secrets_manager=None)
Bases:
object- Parameters:
automatic (
Any) – Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.secrets_manager (
Union[IResolvable,SecretsManagerEncryptionKeyConfigurationProperty,Dict[str,Any],None]) – The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.
- 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 import aws_mediaconnect as mediaconnect # automatic: Any router_input_transit_encryption_key_configuration_property = mediaconnect.CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) )
Attributes
- automatic
Configuration settings for automatic encryption key management, where MediaConnect handles key creation and rotation.
- secrets_manager
The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.
RouterInputTransitEncryptionProperty
- class CfnRouterInput.RouterInputTransitEncryptionProperty(*, encryption_key_configuration, encryption_key_type=None)
Bases:
objectThe transit encryption settings for a router input.
- Parameters:
encryption_key_configuration (
Union[IResolvable,RouterInputTransitEncryptionKeyConfigurationProperty,Dict[str,Any]]) – Defines the configuration settings for transit encryption keys.encryption_key_type (
Optional[str])
- 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 import aws_mediaconnect as mediaconnect # automatic: Any router_input_transit_encryption_property = mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty( encryption_key_configuration=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty( automatic=automatic, secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), # the properties below are optional encryption_key_type="encryptionKeyType" )
Attributes
- encryption_key_configuration
Defines the configuration settings for transit encryption keys.
RtpRouterInputConfigurationProperty
- class CfnRouterInput.RtpRouterInputConfigurationProperty(*, port, forward_error_correction=None)
Bases:
objectThe configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.
- Parameters:
port (
Union[int,float]) – The port number used for the RTP protocol in the router input configuration.forward_error_correction (
Optional[str])
- 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 import aws_mediaconnect as mediaconnect rtp_router_input_configuration_property = mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" )
Attributes
- forward_error_correction
-
- Type:
see
- port
The port number used for the RTP protocol in the router input configuration.
SecretsManagerEncryptionKeyConfigurationProperty
- class CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(*, role_arn, secret_arn)
Bases:
objectThe configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.
- Parameters:
role_arn (
str) – The ARN of the IAM role assumed by MediaConnect to access the AWS Secrets Manager secret.secret_arn (
str) – The ARN of the AWS Secrets Manager secret used for transit encryption.
- 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 import aws_mediaconnect as mediaconnect secrets_manager_encryption_key_configuration_property = mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" )
Attributes
- role_arn
The ARN of the IAM role assumed by MediaConnect to access the AWS Secrets Manager secret.
- secret_arn
The ARN of the AWS Secrets Manager secret used for transit encryption.
SrtCallerRouterInputConfigurationProperty
- class CfnRouterInput.SrtCallerRouterInputConfigurationProperty(*, minimum_latency_milliseconds, source_address, source_port, decryption_configuration=None, stream_id=None)
Bases:
objectThe configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.
- Parameters:
minimum_latency_milliseconds (
Union[int,float]) – The minimum latency in milliseconds for the SRT protocol in caller mode.source_address (
str) – The source IP address for the SRT protocol in caller mode.source_port (
Union[int,float]) – The source port number for the SRT protocol in caller mode.decryption_configuration (
Union[IResolvable,SrtDecryptionConfigurationProperty,Dict[str,Any],None]) – Contains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.stream_id (
Optional[str]) – The stream ID for the SRT protocol in caller mode.
- 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 import aws_mediaconnect as mediaconnect srt_caller_router_input_configuration_property = mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" )
Attributes
- decryption_configuration
Contains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.
- minimum_latency_milliseconds
The minimum latency in milliseconds for the SRT protocol in caller mode.
- source_address
The source IP address for the SRT protocol in caller mode.
- source_port
The source port number for the SRT protocol in caller mode.
- stream_id
The stream ID for the SRT protocol in caller mode.
SrtDecryptionConfigurationProperty
- class CfnRouterInput.SrtDecryptionConfigurationProperty(*, encryption_key)
Bases:
objectContains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.
- Parameters:
encryption_key (
Union[IResolvable,SecretsManagerEncryptionKeyConfigurationProperty,Dict[str,Any]]) – The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.- 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 import aws_mediaconnect as mediaconnect srt_decryption_configuration_property = mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) )
Attributes
- encryption_key
The configuration settings for transit encryption using AWS Secrets Manager, including the secret ARN and role ARN.
SrtListenerRouterInputConfigurationProperty
- class CfnRouterInput.SrtListenerRouterInputConfigurationProperty(*, minimum_latency_milliseconds, port, decryption_configuration=None)
Bases:
objectThe configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and decryption key configuration.
- Parameters:
minimum_latency_milliseconds (
Union[int,float]) – The minimum latency in milliseconds for the SRT protocol in listener mode.port (
Union[int,float]) – The port number for the SRT protocol in listener mode.decryption_configuration (
Union[IResolvable,SrtDecryptionConfigurationProperty,Dict[str,Any],None]) – Contains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.
- 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 import aws_mediaconnect as mediaconnect srt_listener_router_input_configuration_property = mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) )
Attributes
- decryption_configuration
Contains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.
- minimum_latency_milliseconds
The minimum latency in milliseconds for the SRT protocol in listener mode.
- port
The port number for the SRT protocol in listener mode.
StandardRouterInputConfigurationProperty
- class CfnRouterInput.StandardRouterInputConfigurationProperty(*, network_interface_arn, protocol_configuration, protocol=None)
Bases:
objectThe configuration settings for a standard router input, including the protocol, protocol-specific configuration, network interface, and availability zone.
- Parameters:
network_interface_arn (
str) – The Amazon Resource Name (ARN) of the network interface associated with the standard router input.protocol_configuration (
Union[IResolvable,RouterInputProtocolConfigurationProperty,Dict[str,Any]]) – The protocol configuration settings for a router input.protocol (
Optional[str])
- 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 import aws_mediaconnect as mediaconnect standard_router_input_configuration_property = mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty( network_interface_arn="networkInterfaceArn", protocol_configuration=mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty( rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty( port=123, recovery_latency_milliseconds=123 ), rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty( port=123, # the properties below are optional forward_error_correction="forwardErrorCorrection" ), srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, source_address="sourceAddress", source_port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ), stream_id="streamId" ), srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty( minimum_latency_milliseconds=123, port=123, # the properties below are optional decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty( encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty( role_arn="roleArn", secret_arn="secretArn" ) ) ) ), # the properties below are optional protocol="protocol" )
Attributes
- network_interface_arn
The Amazon Resource Name (ARN) of the network interface associated with the standard router input.
- protocol
-
- Type:
see
- protocol_configuration
The protocol configuration settings for a router input.