Class: AWSCDK::MediaConnect::CfnFlowSource::GatewayBridgeSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlowSource::GatewayBridgeSourceProperty
- Defined in:
- media_connect/cfn_flow_source.rb
Overview
The source configuration for cloud flows receiving a stream from a bridge.
Instance Attribute Summary collapse
-
#bridge_arn ⇒ String
readonly
The ARN of the bridge feeding this flow.
-
#vpc_interface_attachment ⇒ AWSCDK::IResolvable, ...
readonly
The name of the VPC interface attachment to use for this bridge source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bridge_arn:, vpc_interface_attachment: nil) ⇒ GatewayBridgeSourceProperty
constructor
A new instance of GatewayBridgeSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bridge_arn:, vpc_interface_attachment: nil) ⇒ GatewayBridgeSourceProperty
Returns a new instance of GatewayBridgeSourceProperty.
900 901 902 903 904 905 |
# File 'media_connect/cfn_flow_source.rb', line 900 def initialize(bridge_arn:, vpc_interface_attachment: nil) @bridge_arn = bridge_arn Jsii::Type.check_type(@bridge_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bridgeArn") @vpc_interface_attachment = .is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlowSource::VPCInterfaceAttachmentProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@vpc_interface_attachment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvd1NvdXJjZS5WcGNJbnRlcmZhY2VBdHRhY2htZW50UHJvcGVydHkifV19fQ==")), "vpcInterfaceAttachment") unless @vpc_interface_attachment.nil? end |
Instance Attribute Details
#bridge_arn ⇒ String (readonly)
The ARN of the bridge feeding this flow.
911 912 913 |
# File 'media_connect/cfn_flow_source.rb', line 911 def bridge_arn @bridge_arn end |
#vpc_interface_attachment ⇒ AWSCDK::IResolvable, ... (readonly)
The name of the VPC interface attachment to use for this bridge source.
916 917 918 |
# File 'media_connect/cfn_flow_source.rb', line 916 def @vpc_interface_attachment end |
Class Method Details
.jsii_properties ⇒ Object
918 919 920 921 922 923 |
# File 'media_connect/cfn_flow_source.rb', line 918 def self.jsii_properties { :bridge_arn => "bridgeArn", :vpc_interface_attachment => "vpcInterfaceAttachment", } end |
Instance Method Details
#to_jsii ⇒ Object
925 926 927 928 929 930 931 932 |
# File 'media_connect/cfn_flow_source.rb', line 925 def to_jsii result = {} result.merge!({ "bridgeArn" => @bridge_arn, "vpcInterfaceAttachment" => @vpc_interface_attachment, }) result.compact end |