Class: AWSCDK::MediaConnect::CfnBridge::IngressGatewayBridgeProperty

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

Overview

Create a bridge with the ingress bridge type.

An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(max_bitrate:, max_outputs:) ⇒ IngressGatewayBridgeProperty

Returns a new instance of IngressGatewayBridgeProperty.

Parameters:

  • max_bitrate (Numeric)

    The maximum expected bitrate (in bps) of the ingress bridge.

  • max_outputs (Numeric)

    The maximum number of outputs on the ingress bridge.



1008
1009
1010
1011
1012
1013
# File 'media_connect/cfn_bridge.rb', line 1008

def initialize(max_bitrate:, max_outputs:)
  @max_bitrate = max_bitrate
  Jsii::Type.check_type(@max_bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxBitrate")
  @max_outputs = max_outputs
  Jsii::Type.check_type(@max_outputs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxOutputs")
end

Instance Attribute Details

#max_bitrateNumeric (readonly)

The maximum expected bitrate (in bps) of the ingress bridge.



1019
1020
1021
# File 'media_connect/cfn_bridge.rb', line 1019

def max_bitrate
  @max_bitrate
end

#max_outputsNumeric (readonly)

The maximum number of outputs on the ingress bridge.



1024
1025
1026
# File 'media_connect/cfn_bridge.rb', line 1024

def max_outputs
  @max_outputs
end

Class Method Details

.jsii_propertiesObject



1026
1027
1028
1029
1030
1031
# File 'media_connect/cfn_bridge.rb', line 1026

def self.jsii_properties
  {
    :max_bitrate => "maxBitrate",
    :max_outputs => "maxOutputs",
  }
end

Instance Method Details

#to_jsiiObject



1033
1034
1035
1036
1037
1038
1039
1040
# File 'media_connect/cfn_bridge.rb', line 1033

def to_jsii
  result = {}
  result.merge!({
    "maxBitrate" => @max_bitrate,
    "maxOutputs" => @max_outputs,
  })
  result.compact
end