Class: AWSCDK::IVS::CfnStageProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IVS::CfnStageProps
- Defined in:
- ivs/cfn_stage_props.rb
Overview
Properties for defining a CfnStage.
Instance Attribute Summary collapse
-
#auto_participant_recording_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Configuration object for individual participant recording.
-
#name ⇒ String?
readonly
Stage name.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An array of key-value pairs to apply to this resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_participant_recording_configuration: nil, name: nil, tags: nil) ⇒ CfnStageProps
constructor
A new instance of CfnStageProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_participant_recording_configuration: nil, name: nil, tags: nil) ⇒ CfnStageProps
Returns a new instance of CfnStageProps.
12 13 14 15 16 17 18 19 |
# File 'ivs/cfn_stage_props.rb', line 12 def initialize(auto_participant_recording_configuration: nil, name: nil, tags: nil) @auto_participant_recording_configuration = auto_participant_recording_configuration.is_a?(Hash) ? ::AWSCDK::IVS::CfnStage::AutoParticipantRecordingConfigurationProperty.new(**auto_participant_recording_configuration.transform_keys(&:to_sym)) : auto_participant_recording_configuration Jsii::Type.check_type(@auto_participant_recording_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pdnMuQ2ZuU3RhZ2UuQXV0b1BhcnRpY2lwYW50UmVjb3JkaW5nQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "autoParticipantRecordingConfiguration") unless @auto_participant_recording_configuration.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#auto_participant_recording_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration object for individual participant recording.
25 26 27 |
# File 'ivs/cfn_stage_props.rb', line 25 def auto_participant_recording_configuration @auto_participant_recording_configuration end |
#name ⇒ String? (readonly)
Stage name.
30 31 32 |
# File 'ivs/cfn_stage_props.rb', line 30 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
37 38 39 |
# File 'ivs/cfn_stage_props.rb', line 37 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 |
# File 'ivs/cfn_stage_props.rb', line 39 def self.jsii_properties { :auto_participant_recording_configuration => "autoParticipantRecordingConfiguration", :name => "name", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'ivs/cfn_stage_props.rb', line 47 def to_jsii result = {} result.merge!({ "autoParticipantRecordingConfiguration" => @auto_participant_recording_configuration, "name" => @name, "tags" => @tags, }) result.compact end |