Class: AWSCDK::MediaConnect::CfnBridge::BridgeFlowSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnBridge::BridgeFlowSourceProperty
- Defined in:
- media_connect/cfn_bridge.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.
-
#name ⇒ String
readonly
The name of the flow source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flow_arn:, name:, flow_vpc_interface_attachment: nil) ⇒ BridgeFlowSourceProperty
constructor
A new instance of BridgeFlowSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(flow_arn:, name:, flow_vpc_interface_attachment: nil) ⇒ BridgeFlowSourceProperty
Returns a new instance of BridgeFlowSourceProperty.
604 605 606 607 608 609 610 611 |
# File 'media_connect/cfn_bridge.rb', line 604 def initialize(flow_arn:, name:, flow_vpc_interface_attachment: nil) @flow_arn = flow_arn Jsii::Type.check_type(@flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowArn") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @flow_vpc_interface_attachment = .is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridge::VPCInterfaceAttachmentProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@flow_vpc_interface_attachment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlLlZwY0ludGVyZmFjZUF0dGFjaG1lbnRQcm9wZXJ0eSJ9XX19")), "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.
617 618 619 |
# File 'media_connect/cfn_bridge.rb', line 617 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.
627 628 629 |
# File 'media_connect/cfn_bridge.rb', line 627 def @flow_vpc_interface_attachment end |
#name ⇒ String (readonly)
The name of the flow source.
622 623 624 |
# File 'media_connect/cfn_bridge.rb', line 622 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
629 630 631 632 633 634 635 |
# File 'media_connect/cfn_bridge.rb', line 629 def self.jsii_properties { :flow_arn => "flowArn", :name => "name", :flow_vpc_interface_attachment => "flowVpcInterfaceAttachment", } end |
Instance Method Details
#to_jsii ⇒ Object
637 638 639 640 641 642 643 644 645 |
# File 'media_connect/cfn_bridge.rb', line 637 def to_jsii result = {} result.merge!({ "flowArn" => @flow_arn, "name" => @name, "flowVpcInterfaceAttachment" => @flow_vpc_interface_attachment, }) result.compact end |