Class: AWSCDK::MediaConnect::CfnFlow::NdiConfigProperty

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

Overview

Specifies the configuration settings for NDI outputs.

Required when the flow includes NDI outputs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(machine_name: nil, ndi_discovery_servers: nil, ndi_state: nil) ⇒ NdiConfigProperty

Returns a new instance of NdiConfigProperty.

Parameters:



1647
1648
1649
1650
1651
1652
1653
1654
# File 'media_connect/cfn_flow.rb', line 1647

def initialize(machine_name: nil, ndi_discovery_servers: nil, ndi_state: nil)
  @machine_name = machine_name
  Jsii::Type.check_type(@machine_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "machineName") unless @machine_name.nil?
  @ndi_discovery_servers = ndi_discovery_servers
  Jsii::Type.check_type(@ndi_discovery_servers, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFjb25uZWN0LkNmbkZsb3cuTmRpRGlzY292ZXJ5U2VydmVyQ29uZmlnUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "ndiDiscoveryServers") unless @ndi_discovery_servers.nil?
  @ndi_state = ndi_state
  Jsii::Type.check_type(@ndi_state, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ndiState") unless @ndi_state.nil?
end

Instance Attribute Details

#machine_nameString? (readonly)

A prefix for the names of the NDI sources that the flow creates.

If a custom name isn't specified, MediaConnect generates a unique 12-character ID as the prefix.



1662
1663
1664
# File 'media_connect/cfn_flow.rb', line 1662

def machine_name
  @machine_name
end

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

A list of up to three NDI discovery server configurations.

While not required by the API, this configuration is necessary for NDI functionality to work properly.



1669
1670
1671
# File 'media_connect/cfn_flow.rb', line 1669

def ndi_discovery_servers
  @ndi_discovery_servers
end

#ndi_stateString? (readonly)

A setting that controls whether NDI outputs can be used in the flow.

Must be ENABLED to add NDI outputs. Default is DISABLED.



1676
1677
1678
# File 'media_connect/cfn_flow.rb', line 1676

def ndi_state
  @ndi_state
end

Class Method Details

.jsii_propertiesObject



1678
1679
1680
1681
1682
1683
1684
# File 'media_connect/cfn_flow.rb', line 1678

def self.jsii_properties
  {
    :machine_name => "machineName",
    :ndi_discovery_servers => "ndiDiscoveryServers",
    :ndi_state => "ndiState",
  }
end

Instance Method Details

#to_jsiiObject



1686
1687
1688
1689
1690
1691
1692
1693
1694
# File 'media_connect/cfn_flow.rb', line 1686

def to_jsii
  result = {}
  result.merge!({
    "machineName" => @machine_name,
    "ndiDiscoveryServers" => @ndi_discovery_servers,
    "ndiState" => @ndi_state,
  })
  result.compact
end