Class: AWSCDK::Pipes::CfnPipe::CloudwatchLogsLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::CloudwatchLogsLogDestinationProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
Represents the Amazon CloudWatch Logs logging configuration settings for the pipe.
Instance Attribute Summary collapse
-
#log_group_arn ⇒ String?
readonly
The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group_arn: nil) ⇒ CloudwatchLogsLogDestinationProperty
constructor
A new instance of CloudwatchLogsLogDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group_arn: nil) ⇒ CloudwatchLogsLogDestinationProperty
Returns a new instance of CloudwatchLogsLogDestinationProperty.
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_arn ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |