Class: AWSCDK::APS::CfnScraper::ScraperLoggingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APS::CfnScraper::ScraperLoggingConfigurationProperty
- Defined in:
- aps/cfn_scraper.rb
Overview
Configuration for scraper logging.
Instance Attribute Summary collapse
-
#logging_destination ⇒ AWSCDK::IResolvable, AWSCDK::APS::CfnScraper::ScraperLoggingDestinationProperty
readonly
Destination for scraper logging.
- #scraper_components ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::APS::CfnScraper::ScraperComponentProperty> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(logging_destination:, scraper_components:) ⇒ ScraperLoggingConfigurationProperty
constructor
A new instance of ScraperLoggingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(logging_destination:, scraper_components:) ⇒ ScraperLoggingConfigurationProperty
Returns a new instance of ScraperLoggingConfigurationProperty.
937 938 939 940 941 942 |
# File 'aps/cfn_scraper.rb', line 937 def initialize(logging_destination:, scraper_components:) @logging_destination = logging_destination.is_a?(Hash) ? ::AWSCDK::APS::CfnScraper::ScraperLoggingDestinationProperty.new(**logging_destination.transform_keys(&:to_sym)) : logging_destination Jsii::Type.check_type(@logging_destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHMuQ2ZuU2NyYXBlci5TY3JhcGVyTG9nZ2luZ0Rlc3RpbmF0aW9uUHJvcGVydHkifV19fQ==")), "loggingDestination") @scraper_components = scraper_components Jsii::Type.check_type(@scraper_components, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBzLkNmblNjcmFwZXIuU2NyYXBlckNvbXBvbmVudFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "scraperComponents") end |
Instance Attribute Details
#logging_destination ⇒ AWSCDK::IResolvable, AWSCDK::APS::CfnScraper::ScraperLoggingDestinationProperty (readonly)
Destination for scraper logging.
948 949 950 |
# File 'aps/cfn_scraper.rb', line 948 def logging_destination @logging_destination end |
#scraper_components ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::APS::CfnScraper::ScraperComponentProperty> (readonly)
951 952 953 |
# File 'aps/cfn_scraper.rb', line 951 def scraper_components @scraper_components end |
Class Method Details
.jsii_properties ⇒ Object
953 954 955 956 957 958 |
# File 'aps/cfn_scraper.rb', line 953 def self.jsii_properties { :logging_destination => "loggingDestination", :scraper_components => "scraperComponents", } end |
Instance Method Details
#to_jsii ⇒ Object
960 961 962 963 964 965 966 967 |
# File 'aps/cfn_scraper.rb', line 960 def to_jsii result = {} result.merge!({ "loggingDestination" => @logging_destination, "scraperComponents" => @scraper_components, }) result.compact end |