Class: AWSCDK::APS::CfnWorkspace::LoggingConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
aps/cfn_workspace.rb

Overview

Contains information about the rules and alerting logging configuration for the workspace.

These logging configurations are only for rules and alerting logs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_group_arn: nil) ⇒ LoggingConfigurationProperty

Returns a new instance of LoggingConfigurationProperty.

Parameters:

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

    The ARN of the CloudWatch log group to which the vended log data will be published.



784
785
786
787
# File 'aps/cfn_workspace.rb', line 784

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

Instance Attribute Details

#log_group_arnString? (readonly)

The ARN of the CloudWatch log group to which the vended log data will be published.

This log group must exist prior to calling this operation.



795
796
797
# File 'aps/cfn_workspace.rb', line 795

def log_group_arn
  @log_group_arn
end

Class Method Details

.jsii_propertiesObject



797
798
799
800
801
# File 'aps/cfn_workspace.rb', line 797

def self.jsii_properties
  {
    :log_group_arn => "logGroupArn",
  }
end

Instance Method Details

#to_jsiiObject



803
804
805
806
807
808
809
# File 'aps/cfn_workspace.rb', line 803

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