Class: AWSCDK::MediaTailor::CfnChannel::LogConfigurationForChannelProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_tailor/cfn_channel.rb

Overview

The log configuration for the channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_types: nil) ⇒ LogConfigurationForChannelProperty

Returns a new instance of LogConfigurationForChannelProperty.

Parameters:

  • log_types (Array<String>, nil) (defaults to: nil)

    The log types.



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_typesArray<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_propertiesObject



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_jsiiObject



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