Class: AWSCDK::MediaConnect::CfnFlow::GatewayBridgeSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_flow.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:



1261
1262
1263
1264
1265
1266
# File 'media_connect/cfn_flow.rb', line 1261

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

Instance Attribute Details

#bridge_arnString (readonly)

The ARN of the bridge feeding this flow.



1272
1273
1274
# File 'media_connect/cfn_flow.rb', line 1272

def bridge_arn
  @bridge_arn
end

#vpc_interface_attachmentAWSCDK::IResolvable, ... (readonly)

The name of the VPC interface attachment to use for this bridge source.



1277
1278
1279
# File 'media_connect/cfn_flow.rb', line 1277

def vpc_interface_attachment
  @vpc_interface_attachment
end

Class Method Details

.jsii_propertiesObject



1279
1280
1281
1282
1283
1284
# File 'media_connect/cfn_flow.rb', line 1279

def self.jsii_properties
  {
    :bridge_arn => "bridgeArn",
    :vpc_interface_attachment => "vpcInterfaceAttachment",
  }
end

Instance Method Details

#to_jsiiObject



1286
1287
1288
1289
1290
1291
1292
1293
# File 'media_connect/cfn_flow.rb', line 1286

def to_jsii
  result = {}
  result.merge!({
    "bridgeArn" => @bridge_arn,
    "vpcInterfaceAttachment" => @vpc_interface_attachment,
  })
  result.compact
end