Class: AWSCDK::MediaConnect::CfnBridgeProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnBridgeProps
- Defined in:
- media_connect/cfn_bridge_props.rb
Overview
Properties for defining a CfnBridge.
Instance Attribute Summary collapse
-
#egress_gateway_bridge ⇒ AWSCDK::IResolvable, ...
readonly
An egress bridge is a cloud-to-ground bridge.
-
#ingress_gateway_bridge ⇒ AWSCDK::IResolvable, ...
readonly
An ingress bridge is a ground-to-cloud bridge.
-
#name ⇒ String
readonly
The name of the bridge.
-
#outputs ⇒ AWSCDK::IResolvable, ...
readonly
The outputs that you want to add to this bridge.
-
#placement_arn ⇒ String
readonly
The bridge placement Amazon Resource Number (ARN).
-
#source_failover_config ⇒ AWSCDK::IResolvable, ...
readonly
The settings for source failover.
-
#sources ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnBridge::BridgeSourceProperty>
readonly
The sources that you want to add to this bridge.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, placement_arn:, sources:, egress_gateway_bridge: nil, ingress_gateway_bridge: nil, outputs: nil, source_failover_config: nil) ⇒ CfnBridgeProps
constructor
A new instance of CfnBridgeProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, placement_arn:, sources:, egress_gateway_bridge: nil, ingress_gateway_bridge: nil, outputs: nil, source_failover_config: nil) ⇒ CfnBridgeProps
Returns a new instance of CfnBridgeProps.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'media_connect/cfn_bridge_props.rb', line 16 def initialize(name:, placement_arn:, sources:, egress_gateway_bridge: nil, ingress_gateway_bridge: nil, outputs: nil, source_failover_config: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @placement_arn = placement_arn Jsii::Type.check_type(@placement_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "placementArn") @sources = sources Jsii::Type.check_type(@sources, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFjb25uZWN0LkNmbkJyaWRnZS5CcmlkZ2VTb3VyY2VQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "sources") @egress_gateway_bridge = egress_gateway_bridge.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridge::EgressGatewayBridgeProperty.new(**egress_gateway_bridge.transform_keys(&:to_sym)) : egress_gateway_bridge Jsii::Type.check_type(@egress_gateway_bridge, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlLkVncmVzc0dhdGV3YXlCcmlkZ2VQcm9wZXJ0eSJ9XX19")), "egressGatewayBridge") unless @egress_gateway_bridge.nil? @ingress_gateway_bridge = ingress_gateway_bridge.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridge::IngressGatewayBridgeProperty.new(**ingress_gateway_bridge.transform_keys(&:to_sym)) : ingress_gateway_bridge Jsii::Type.check_type(@ingress_gateway_bridge, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlLkluZ3Jlc3NHYXRld2F5QnJpZGdlUHJvcGVydHkifV19fQ==")), "ingressGatewayBridge") unless @ingress_gateway_bridge.nil? @outputs = outputs Jsii::Type.check_type(@outputs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFjb25uZWN0LkNmbkJyaWRnZS5CcmlkZ2VPdXRwdXRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "outputs") unless @outputs.nil? @source_failover_config = source_failover_config.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridge::FailoverConfigProperty.new(**source_failover_config.transform_keys(&:to_sym)) : source_failover_config Jsii::Type.check_type(@source_failover_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlLkZhaWxvdmVyQ29uZmlnUHJvcGVydHkifV19fQ==")), "sourceFailoverConfig") unless @source_failover_config.nil? end |
Instance Attribute Details
#egress_gateway_bridge ⇒ AWSCDK::IResolvable, ... (readonly)
An egress bridge is a cloud-to-ground bridge.
The content comes from an existing MediaConnect flow and is delivered to your premises.
56 57 58 |
# File 'media_connect/cfn_bridge_props.rb', line 56 def egress_gateway_bridge @egress_gateway_bridge end |
#ingress_gateway_bridge ⇒ AWSCDK::IResolvable, ... (readonly)
An ingress bridge is a ground-to-cloud bridge.
The content originates at your premises and is delivered to the cloud.
63 64 65 |
# File 'media_connect/cfn_bridge_props.rb', line 63 def ingress_gateway_bridge @ingress_gateway_bridge end |
#name ⇒ String (readonly)
The name of the bridge.
This name can not be modified after the bridge is created.
39 40 41 |
# File 'media_connect/cfn_bridge_props.rb', line 39 def name @name end |
#outputs ⇒ AWSCDK::IResolvable, ... (readonly)
The outputs that you want to add to this bridge.
68 69 70 |
# File 'media_connect/cfn_bridge_props.rb', line 68 def outputs @outputs end |
#placement_arn ⇒ String (readonly)
The bridge placement Amazon Resource Number (ARN).
44 45 46 |
# File 'media_connect/cfn_bridge_props.rb', line 44 def placement_arn @placement_arn end |
#source_failover_config ⇒ AWSCDK::IResolvable, ... (readonly)
The settings for source failover.
73 74 75 |
# File 'media_connect/cfn_bridge_props.rb', line 73 def source_failover_config @source_failover_config end |
#sources ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnBridge::BridgeSourceProperty> (readonly)
The sources that you want to add to this bridge.
49 50 51 |
# File 'media_connect/cfn_bridge_props.rb', line 49 def sources @sources end |
Class Method Details
.jsii_properties ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 |
# File 'media_connect/cfn_bridge_props.rb', line 75 def self.jsii_properties { :name => "name", :placement_arn => "placementArn", :sources => "sources", :egress_gateway_bridge => "egressGatewayBridge", :ingress_gateway_bridge => "ingressGatewayBridge", :outputs => "outputs", :source_failover_config => "sourceFailoverConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'media_connect/cfn_bridge_props.rb', line 87 def to_jsii result = {} result.merge!({ "name" => @name, "placementArn" => @placement_arn, "sources" => @sources, "egressGatewayBridge" => @egress_gateway_bridge, "ingressGatewayBridge" => @ingress_gateway_bridge, "outputs" => @outputs, "sourceFailoverConfig" => @source_failover_config, }) result.compact end |