Class: AWSCDK::CustomResources::LoggingProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomResources::LoggingProps
- Defined in:
- custom_resources/logging_props.rb
Overview
Properties used to initialize Logging.
Instance Attribute Summary collapse
-
#log_api_response_data ⇒ Boolean?
readonly
Whether or not to log data associated with the API call response.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_api_response_data: nil) ⇒ LoggingProps
constructor
A new instance of LoggingProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_api_response_data: nil) ⇒ LoggingProps
Returns a new instance of LoggingProps.
8 9 10 11 |
# File 'custom_resources/logging_props.rb', line 8 def initialize(log_api_response_data: nil) @log_api_response_data = log_api_response_data Jsii::Type.check_type(@log_api_response_data, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "logApiResponseData") unless @log_api_response_data.nil? end |
Instance Attribute Details
#log_api_response_data ⇒ Boolean? (readonly)
Note:
Default: true
Whether or not to log data associated with the API call response.
17 18 19 |
# File 'custom_resources/logging_props.rb', line 17 def log_api_response_data @log_api_response_data end |
Class Method Details
.jsii_properties ⇒ Object
19 20 21 22 23 |
# File 'custom_resources/logging_props.rb', line 19 def self.jsii_properties { :log_api_response_data => "logApiResponseData", } end |
Instance Method Details
#to_jsii ⇒ Object
25 26 27 28 29 30 31 |
# File 'custom_resources/logging_props.rb', line 25 def to_jsii result = {} result.merge!({ "logApiResponseData" => @log_api_response_data, }) result.compact end |