Class: AWSCDK::MediaLive::CfnCluster::ClusterNetworkSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_cluster.rb

Overview

On premises settings which will have the interface network mappings and default Output logical interface.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_route: nil, interface_mappings: nil) ⇒ ClusterNetworkSettingsProperty

Returns a new instance of ClusterNetworkSettingsProperty.

Parameters:



621
622
623
624
625
626
# File 'media_live/cfn_cluster.rb', line 621

def initialize(default_route: nil, interface_mappings: nil)
  @default_route = default_route
  Jsii::Type.check_type(@default_route, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "defaultRoute") unless @default_route.nil?
  @interface_mappings = interface_mappings
  Jsii::Type.check_type(@interface_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNsdXN0ZXIuSW50ZXJmYWNlTWFwcGluZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "interfaceMappings") unless @interface_mappings.nil?
end

Instance Attribute Details

#default_routeString? (readonly)

Default value if the customer does not define it in channel Output API.



632
633
634
# File 'media_live/cfn_cluster.rb', line 632

def default_route
  @default_route
end

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

Network mappings for the cluster.



637
638
639
# File 'media_live/cfn_cluster.rb', line 637

def interface_mappings
  @interface_mappings
end

Class Method Details

.jsii_propertiesObject



639
640
641
642
643
644
# File 'media_live/cfn_cluster.rb', line 639

def self.jsii_properties
  {
    :default_route => "defaultRoute",
    :interface_mappings => "interfaceMappings",
  }
end

Instance Method Details

#to_jsiiObject



646
647
648
649
650
651
652
653
# File 'media_live/cfn_cluster.rb', line 646

def to_jsii
  result = {}
  result.merge!({
    "defaultRoute" => @default_route,
    "interfaceMappings" => @interface_mappings,
  })
  result.compact
end