Class: AWSCDK::Pipes::CfnPipe::CloudwatchLogsLogDestinationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pipes/cfn_pipe.rb

Overview

Represents the Amazon CloudWatch Logs logging configuration settings for the pipe.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(log_group_arn: nil) ⇒ CloudwatchLogsLogDestinationProperty

Returns a new instance of CloudwatchLogsLogDestinationProperty.

Parameters:

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

    The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.



1158
1159
1160
1161
# File 'pipes/cfn_pipe.rb', line 1158

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 AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.



1167
1168
1169
# File 'pipes/cfn_pipe.rb', line 1167

def log_group_arn
  @log_group_arn
end

Class Method Details

.jsii_propertiesObject



1169
1170
1171
1172
1173
# File 'pipes/cfn_pipe.rb', line 1169

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

Instance Method Details

#to_jsiiObject



1175
1176
1177
1178
1179
1180
1181
# File 'pipes/cfn_pipe.rb', line 1175

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