Class: AWSCDK::OSIS::CfnPipeline::CloudWatchLogDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OSIS::CfnPipeline::CloudWatchLogDestinationProperty
- Defined in:
- osis/cfn_pipeline.rb
Overview
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch.
Instance Attribute Summary collapse
-
#log_group ⇒ String
readonly
The name of the CloudWatch Logs group to send pipeline logs to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group:) ⇒ CloudWatchLogDestinationProperty
constructor
A new instance of CloudWatchLogDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group:) ⇒ CloudWatchLogDestinationProperty
Returns a new instance of CloudWatchLogDestinationProperty.
711 712 713 714 |
# File 'osis/cfn_pipeline.rb', line 711 def initialize(log_group:) @log_group = log_group Jsii::Type.check_type(@log_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroup") end |
Instance Attribute Details
#log_group ⇒ String (readonly)
The name of the CloudWatch Logs group to send pipeline logs to.
You can specify an existing log group or create a new one. For example, /aws/vendedlogs/OpenSearchService/pipelines .
722 723 724 |
# File 'osis/cfn_pipeline.rb', line 722 def log_group @log_group end |
Class Method Details
.jsii_properties ⇒ Object
724 725 726 727 728 |
# File 'osis/cfn_pipeline.rb', line 724 def self.jsii_properties { :log_group => "logGroup", } end |
Instance Method Details
#to_jsii ⇒ Object
730 731 732 733 734 735 736 |
# File 'osis/cfn_pipeline.rb', line 730 def to_jsii result = {} result.merge!({ "logGroup" => @log_group, }) result.compact end |