Class: AWSCDK::IVSChat::CfnLoggingConfiguration::CloudWatchLogsDestinationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IVSChat::CfnLoggingConfiguration::CloudWatchLogsDestinationConfigurationProperty
- 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
-
#log_group_name ⇒ String
readonly
Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group_name:) ⇒ CloudWatchLogsDestinationConfigurationProperty
constructor
A new instance of CloudWatchLogsDestinationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group_name:) ⇒ CloudWatchLogsDestinationConfigurationProperty
Returns a new instance of CloudWatchLogsDestinationConfigurationProperty.
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_name ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |