Class: AWSCDK::MediaConnect::CfnBridge::BridgeFlowSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flow_arn:, name:, flow_vpc_interface_attachment: nil) ⇒ BridgeFlowSourceProperty

Returns a new instance of BridgeFlowSourceProperty.

Parameters:



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 = flow_vpc_interface_attachment.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridge::VPCInterfaceAttachmentProperty.new(**flow_vpc_interface_attachment.transform_keys(&:to_sym)) : flow_vpc_interface_attachment
  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_arnString (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_attachmentAWSCDK::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
  @flow_vpc_interface_attachment
end

#nameString (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_propertiesObject



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_jsiiObject



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