Class: AWSCDK::MediaLive::CfnCluster::InterfaceMappingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnCluster::InterfaceMappingProperty
- Defined in:
- media_live/cfn_cluster.rb
Overview
Network mappings for the cluster.
Instance Attribute Summary collapse
-
#logical_interface_name ⇒ String?
readonly
logical interface name, unique in the list.
-
#network_id ⇒ String?
readonly
Network Id to be associated with the logical interface name, can be duplicated in list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(logical_interface_name: nil, network_id: nil) ⇒ InterfaceMappingProperty
constructor
A new instance of InterfaceMappingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(logical_interface_name: nil, network_id: nil) ⇒ InterfaceMappingProperty
Returns a new instance of InterfaceMappingProperty.
664 665 666 667 668 669 |
# File 'media_live/cfn_cluster.rb', line 664 def initialize(logical_interface_name: nil, network_id: nil) @logical_interface_name = logical_interface_name Jsii::Type.check_type(@logical_interface_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logicalInterfaceName") unless @logical_interface_name.nil? @network_id = network_id Jsii::Type.check_type(@network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkId") unless @network_id.nil? end |
Instance Attribute Details
#logical_interface_name ⇒ String? (readonly)
logical interface name, unique in the list.
675 676 677 |
# File 'media_live/cfn_cluster.rb', line 675 def logical_interface_name @logical_interface_name end |
#network_id ⇒ String? (readonly)
Network Id to be associated with the logical interface name, can be duplicated in list.
680 681 682 |
# File 'media_live/cfn_cluster.rb', line 680 def network_id @network_id end |
Class Method Details
.jsii_properties ⇒ Object
682 683 684 685 686 687 |
# File 'media_live/cfn_cluster.rb', line 682 def self.jsii_properties { :logical_interface_name => "logicalInterfaceName", :network_id => "networkId", } end |
Instance Method Details
#to_jsii ⇒ Object
689 690 691 692 693 694 695 696 |
# File 'media_live/cfn_cluster.rb', line 689 def to_jsii result = {} result.merge!({ "logicalInterfaceName" => @logical_interface_name, "networkId" => @network_id, }) result.compact end |