Class: AWSCDK::MediaPackage::CfnChannel::LogConfigurationProperty

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

Overview

The access log configuration parameters for your channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_group_name: nil) ⇒ LogConfigurationProperty

Returns a new instance of LogConfigurationProperty.

Parameters:

  • log_group_name (String, nil) (defaults to: nil)

    Sets a custom Amazon CloudWatch log group name.



683
684
685
686
# File 'media_package/cfn_channel.rb', line 683

def initialize(log_group_name: nil)
  @log_group_name = log_group_name
  Jsii::Type.check_type(@log_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroupName") unless @log_group_name.nil?
end

Instance Attribute Details

#log_group_nameString? (readonly)

Sets a custom Amazon CloudWatch log group name.



692
693
694
# File 'media_package/cfn_channel.rb', line 692

def log_group_name
  @log_group_name
end

Class Method Details

.jsii_propertiesObject



694
695
696
697
698
# File 'media_package/cfn_channel.rb', line 694

def self.jsii_properties
  {
    :log_group_name => "logGroupName",
  }
end

Instance Method Details

#to_jsiiObject



700
701
702
703
704
705
706
# File 'media_package/cfn_channel.rb', line 700

def to_jsii
  result = {}
  result.merge!({
    "logGroupName" => @log_group_name,
  })
  result.compact
end