Class: AWSCDK::APS::CfnScraper::ScraperLoggingDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APS::CfnScraper::ScraperLoggingDestinationProperty
- Defined in:
- aps/cfn_scraper.rb
Overview
The destination where scraper logs are sent.
Instance Attribute Summary collapse
-
#cloud_watch_logs ⇒ AWSCDK::IResolvable, ...
readonly
The CloudWatch Logs configuration for the scraper logging destination.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cloud_watch_logs: nil) ⇒ ScraperLoggingDestinationProperty
constructor
A new instance of ScraperLoggingDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cloud_watch_logs: nil) ⇒ ScraperLoggingDestinationProperty
Returns a new instance of ScraperLoggingDestinationProperty.
977 978 979 980 |
# File 'aps/cfn_scraper.rb', line 977 def initialize(cloud_watch_logs: nil) @cloud_watch_logs = cloud_watch_logs.is_a?(Hash) ? ::AWSCDK::APS::CfnScraper::CloudWatchLogDestinationProperty.new(**cloud_watch_logs.transform_keys(&:to_sym)) : cloud_watch_logs Jsii::Type.check_type(@cloud_watch_logs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHMuQ2ZuU2NyYXBlci5DbG91ZFdhdGNoTG9nRGVzdGluYXRpb25Qcm9wZXJ0eSJ9XX19")), "cloudWatchLogs") unless @cloud_watch_logs.nil? end |
Instance Attribute Details
#cloud_watch_logs ⇒ AWSCDK::IResolvable, ... (readonly)
The CloudWatch Logs configuration for the scraper logging destination.
986 987 988 |
# File 'aps/cfn_scraper.rb', line 986 def cloud_watch_logs @cloud_watch_logs end |
Class Method Details
.jsii_properties ⇒ Object
988 989 990 991 992 |
# File 'aps/cfn_scraper.rb', line 988 def self.jsii_properties { :cloud_watch_logs => "cloudWatchLogs", } end |
Instance Method Details
#to_jsii ⇒ Object
994 995 996 997 998 999 1000 |
# File 'aps/cfn_scraper.rb', line 994 def to_jsii result = {} result.merge!({ "cloudWatchLogs" => @cloud_watch_logs, }) result.compact end |