Class: AWSCDK::MediaLive::CfnChannel::AnywhereSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AnywhereSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #channel_placement_group_id ⇒ String? readonly
- #cluster_id ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel_placement_group_id: nil, cluster_id: nil) ⇒ AnywhereSettingsProperty
constructor
A new instance of AnywhereSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel_placement_group_id: nil, cluster_id: nil) ⇒ AnywhereSettingsProperty
Returns a new instance of AnywhereSettingsProperty.
1087 1088 1089 1090 1091 1092 |
# File 'media_live/cfn_channel.rb', line 1087 def initialize(channel_placement_group_id: nil, cluster_id: nil) @channel_placement_group_id = channel_placement_group_id Jsii::Type.check_type(@channel_placement_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelPlacementGroupId") unless @channel_placement_group_id.nil? @cluster_id = cluster_id Jsii::Type.check_type(@cluster_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterId") unless @cluster_id.nil? end |
Instance Attribute Details
#channel_placement_group_id ⇒ String? (readonly)
1096 1097 1098 |
# File 'media_live/cfn_channel.rb', line 1096 def channel_placement_group_id @channel_placement_group_id end |
#cluster_id ⇒ String? (readonly)
1099 1100 1101 |
# File 'media_live/cfn_channel.rb', line 1099 def cluster_id @cluster_id end |
Class Method Details
.jsii_properties ⇒ Object
1101 1102 1103 1104 1105 1106 |
# File 'media_live/cfn_channel.rb', line 1101 def self.jsii_properties { :channel_placement_group_id => "channelPlacementGroupId", :cluster_id => "clusterId", } end |
Instance Method Details
#to_jsii ⇒ Object
1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'media_live/cfn_channel.rb', line 1108 def to_jsii result = {} result.merge!({ "channelPlacementGroupId" => @channel_placement_group_id, "clusterId" => @cluster_id, }) result.compact end |