Class: AWSCDK::MediaConnect::CfnBridgeOutputProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_bridge_output_props.rb

Overview

Properties for defining a CfnBridgeOutput.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bridge_arn:, name:, network_output:) ⇒ CfnBridgeOutputProps

Returns a new instance of CfnBridgeOutputProps.

Parameters:



12
13
14
15
16
17
18
19
# File 'media_connect/cfn_bridge_output_props.rb', line 12

def initialize(bridge_arn:, name:, network_output:)
  @bridge_arn = bridge_arn
  Jsii::Type.check_type(@bridge_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bridgeArn")
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @network_output = network_output.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridgeOutput::BridgeNetworkOutputProperty.new(**network_output.transform_keys(&:to_sym)) : network_output
  Jsii::Type.check_type(@network_output, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlT3V0cHV0LkJyaWRnZU5ldHdvcmtPdXRwdXRQcm9wZXJ0eSJ9XX19")), "networkOutput")
end

Instance Attribute Details

#bridge_arnString (readonly)

The Amazon Resource Name (ARN) of the bridge that you want to update.



25
26
27
# File 'media_connect/cfn_bridge_output_props.rb', line 25

def bridge_arn
  @bridge_arn
end

#nameString (readonly)

The network output name.

This name is used to reference the output and must be unique among outputs in this bridge.



32
33
34
# File 'media_connect/cfn_bridge_output_props.rb', line 32

def name
  @name
end

#network_outputAWSCDK::IResolvable, AWSCDK::MediaConnect::CfnBridgeOutput::BridgeNetworkOutputProperty (readonly)

The network output of the bridge.

A network output is delivered to your premises.



39
40
41
# File 'media_connect/cfn_bridge_output_props.rb', line 39

def network_output
  @network_output
end

Class Method Details

.jsii_propertiesObject



41
42
43
44
45
46
47
# File 'media_connect/cfn_bridge_output_props.rb', line 41

def self.jsii_properties
  {
    :bridge_arn => "bridgeArn",
    :name => "name",
    :network_output => "networkOutput",
  }
end

Instance Method Details

#to_jsiiObject



49
50
51
52
53
54
55
56
57
# File 'media_connect/cfn_bridge_output_props.rb', line 49

def to_jsii
  result = {}
  result.merge!({
    "bridgeArn" => @bridge_arn,
    "name" => @name,
    "networkOutput" => @network_output,
  })
  result.compact
end