Class: AWSCDK::MediaTailor::CfnChannel::LogConfigurationForChannelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnChannel::LogConfigurationForChannelProperty
- Defined in:
- media_tailor/cfn_channel.rb
Overview
The log configuration for the channel.
Instance Attribute Summary collapse
-
#log_types ⇒ Array<String>?
readonly
The log types.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_types: nil) ⇒ LogConfigurationForChannelProperty
constructor
A new instance of LogConfigurationForChannelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_types: nil) ⇒ LogConfigurationForChannelProperty
Returns a new instance of LogConfigurationForChannelProperty.
770 771 772 773 |
# File 'media_tailor/cfn_channel.rb', line 770 def initialize(log_types: nil) @log_types = log_types Jsii::Type.check_type(@log_types, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "logTypes") unless @log_types.nil? end |
Instance Attribute Details
#log_types ⇒ Array<String>? (readonly)
The log types.
779 780 781 |
# File 'media_tailor/cfn_channel.rb', line 779 def log_types @log_types end |
Class Method Details
.jsii_properties ⇒ Object
781 782 783 784 785 |
# File 'media_tailor/cfn_channel.rb', line 781 def self.jsii_properties { :log_types => "logTypes", } end |
Instance Method Details
#to_jsii ⇒ Object
787 788 789 790 791 792 793 |
# File 'media_tailor/cfn_channel.rb', line 787 def to_jsii result = {} result.merge!({ "logTypes" => @log_types, }) result.compact end |