Class: AWSCDK::MediaConnect::CfnBridgeSource::BridgeFlowSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnBridgeSource::BridgeFlowSourceProperty
- Defined in:
- media_connect/cfn_bridge_source.rb
Overview
The source of the bridge.
A flow source originates in MediaConnect as an existing cloud flow.
Instance Attribute Summary collapse
-
#flow_arn ⇒ String
readonly
The ARN of the cloud flow used as a source of this bridge.
-
#flow_vpc_interface_attachment ⇒ AWSCDK::IResolvable, ...
readonly
The name of the VPC interface attachment to use for this source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flow_arn:, flow_vpc_interface_attachment: nil) ⇒ BridgeFlowSourceProperty
constructor
A new instance of BridgeFlowSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(flow_arn:, flow_vpc_interface_attachment: nil) ⇒ BridgeFlowSourceProperty
Returns a new instance of BridgeFlowSourceProperty.
536 537 538 539 540 541 |
# File 'media_connect/cfn_bridge_source.rb', line 536 def initialize(flow_arn:, flow_vpc_interface_attachment: nil) @flow_arn = flow_arn Jsii::Type.check_type(@flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowArn") @flow_vpc_interface_attachment = .is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridgeSource::VPCInterfaceAttachmentProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@flow_vpc_interface_attachment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlU291cmNlLlZwY0ludGVyZmFjZUF0dGFjaG1lbnRQcm9wZXJ0eSJ9XX19")), "flowVpcInterfaceAttachment") unless @flow_vpc_interface_attachment.nil? end |
Instance Attribute Details
#flow_arn ⇒ String (readonly)
The ARN of the cloud flow used as a source of this bridge.
547 548 549 |
# File 'media_connect/cfn_bridge_source.rb', line 547 def flow_arn @flow_arn end |
#flow_vpc_interface_attachment ⇒ AWSCDK::IResolvable, ... (readonly)
The name of the VPC interface attachment to use for this source.
552 553 554 |
# File 'media_connect/cfn_bridge_source.rb', line 552 def @flow_vpc_interface_attachment end |
Class Method Details
.jsii_properties ⇒ Object
554 555 556 557 558 559 |
# File 'media_connect/cfn_bridge_source.rb', line 554 def self.jsii_properties { :flow_arn => "flowArn", :flow_vpc_interface_attachment => "flowVpcInterfaceAttachment", } end |
Instance Method Details
#to_jsii ⇒ Object
561 562 563 564 565 566 567 568 |
# File 'media_connect/cfn_bridge_source.rb', line 561 def to_jsii result = {} result.merge!({ "flowArn" => @flow_arn, "flowVpcInterfaceAttachment" => @flow_vpc_interface_attachment, }) result.compact end |