Class: AWSCDK::IVSChat::CfnLoggingConfiguration::CloudWatchLogsDestinationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ivs_chat/cfn_logging_configuration.rb

Overview

The CloudWatchLogsDestinationConfiguration property type specifies a CloudWatch Logs location where chat logs will be stored.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_group_name:) ⇒ CloudWatchLogsDestinationConfigurationProperty

Returns a new instance of CloudWatchLogsDestinationConfigurationProperty.

Parameters:

  • log_group_name (String)

    Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.



568
569
570
571
# File 'ivs_chat/cfn_logging_configuration.rb', line 568

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

Instance Attribute Details

#log_group_nameString (readonly)

Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.



577
578
579
# File 'ivs_chat/cfn_logging_configuration.rb', line 577

def log_group_name
  @log_group_name
end

Class Method Details

.jsii_propertiesObject



579
580
581
582
583
# File 'ivs_chat/cfn_logging_configuration.rb', line 579

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

Instance Method Details

#to_jsiiObject



585
586
587
588
589
590
591
# File 'ivs_chat/cfn_logging_configuration.rb', line 585

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