Class: AWSCDK::MediaLive::CfnCluster::ClusterNetworkSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnCluster::ClusterNetworkSettingsProperty
- 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
-
#default_route ⇒ String?
readonly
Default value if the customer does not define it in channel Output API.
-
#interface_mappings ⇒ AWSCDK::IResolvable, ...
readonly
Network mappings for the cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(default_route: nil, interface_mappings: nil) ⇒ ClusterNetworkSettingsProperty
constructor
A new instance of ClusterNetworkSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(default_route: nil, interface_mappings: nil) ⇒ ClusterNetworkSettingsProperty
Returns a new instance of ClusterNetworkSettingsProperty.
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_route ⇒ String? (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_mappings ⇒ AWSCDK::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_properties ⇒ Object
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_jsii ⇒ Object
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 |