Class: AWSCDK::APS::CfnWorkspace::LoggingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APS::CfnWorkspace::LoggingConfigurationProperty
- 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
-
#log_group_arn ⇒ String?
readonly
The ARN of the CloudWatch log group to which the vended log data will be published.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group_arn: nil) ⇒ LoggingConfigurationProperty
constructor
A new instance of LoggingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group_arn: nil) ⇒ LoggingConfigurationProperty
Returns a new instance of LoggingConfigurationProperty.
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_arn ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |