Class: AWSCDK::MediaConnect::CfnRouterInput::MergeRouterInputConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_router_input.rb

Overview

Configuration settings for a merge router input that combines two input sources.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(merge_recovery_window_milliseconds:, network_interface_arn:, protocol_configurations:) ⇒ MergeRouterInputConfigurationProperty

Returns a new instance of MergeRouterInputConfigurationProperty.

Parameters:



1152
1153
1154
1155
1156
1157
1158
1159
# File 'media_connect/cfn_router_input.rb', line 1152

def initialize(merge_recovery_window_milliseconds:, network_interface_arn:, protocol_configurations:)
  @merge_recovery_window_milliseconds = merge_recovery_window_milliseconds
  Jsii::Type.check_type(@merge_recovery_window_milliseconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "mergeRecoveryWindowMilliseconds")
  @network_interface_arn = network_interface_arn
  Jsii::Type.check_type(@network_interface_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkInterfaceArn")
  @protocol_configurations = protocol_configurations
  Jsii::Type.check_type(@protocol_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFjb25uZWN0LkNmblJvdXRlcklucHV0Lk1lcmdlUm91dGVySW5wdXRQcm90b2NvbENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "protocolConfigurations")
end

Instance Attribute Details

#merge_recovery_window_millisecondsNumeric (readonly)

The time window in milliseconds for merging the two input sources.



1165
1166
1167
# File 'media_connect/cfn_router_input.rb', line 1165

def merge_recovery_window_milliseconds
  @merge_recovery_window_milliseconds
end

#network_interface_arnString (readonly)

The ARN of the network interface to use for this merge router input.



1170
1171
1172
# File 'media_connect/cfn_router_input.rb', line 1170

def network_interface_arn
  @network_interface_arn
end

#protocol_configurationsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterInput::MergeRouterInputProtocolConfigurationProperty> (readonly)

A list of exactly two protocol configurations for the merge input sources.

Both must use the same protocol type.



1177
1178
1179
# File 'media_connect/cfn_router_input.rb', line 1177

def protocol_configurations
  @protocol_configurations
end

Class Method Details

.jsii_propertiesObject



1179
1180
1181
1182
1183
1184
1185
# File 'media_connect/cfn_router_input.rb', line 1179

def self.jsii_properties
  {
    :merge_recovery_window_milliseconds => "mergeRecoveryWindowMilliseconds",
    :network_interface_arn => "networkInterfaceArn",
    :protocol_configurations => "protocolConfigurations",
  }
end

Instance Method Details

#to_jsiiObject



1187
1188
1189
1190
1191
1192
1193
1194
1195
# File 'media_connect/cfn_router_input.rb', line 1187

def to_jsii
  result = {}
  result.merge!({
    "mergeRecoveryWindowMilliseconds" => @merge_recovery_window_milliseconds,
    "networkInterfaceArn" => @network_interface_arn,
    "protocolConfigurations" => @protocol_configurations,
  })
  result.compact
end