Class: AWSCDK::MediaConnect::CfnFlowSource::GatewayBridgeSourceProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bridge_arn:, vpc_interface_attachment: nil) ⇒ GatewayBridgeSourceProperty

Returns a new instance of GatewayBridgeSourceProperty.

Parameters:



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 = vpc_interface_attachment.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlowSource::VPCInterfaceAttachmentProperty.new(**vpc_interface_attachment.transform_keys(&:to_sym)) : vpc_interface_attachment
  Jsii::Type.check_type(@vpc_interface_attachment, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvd1NvdXJjZS5WcGNJbnRlcmZhY2VBdHRhY2htZW50UHJvcGVydHkifV19fQ==")), "vpcInterfaceAttachment") unless @vpc_interface_attachment.nil?
end

Instance Attribute Details

#bridge_arnString (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_attachmentAWSCDK::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
  @vpc_interface_attachment
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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