Class: AWSCDK::APS::CfnWorkspace::CloudWatchLogDestinationProperty

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

Overview

Configuration details for logging to CloudWatch Logs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_group_arn:) ⇒ CloudWatchLogDestinationProperty

Returns a new instance of CloudWatchLogDestinationProperty.

Parameters:

  • log_group_arn (String)

    The ARN of the CloudWatch log group.



620
621
622
623
# File 'aps/cfn_workspace.rb', line 620

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

Instance Attribute Details

#log_group_arnString (readonly)

The ARN of the CloudWatch log group.



629
630
631
# File 'aps/cfn_workspace.rb', line 629

def log_group_arn
  @log_group_arn
end

Class Method Details

.jsii_propertiesObject



631
632
633
634
635
# File 'aps/cfn_workspace.rb', line 631

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

Instance Method Details

#to_jsiiObject



637
638
639
640
641
642
643
# File 'aps/cfn_workspace.rb', line 637

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