Module: AWSCDK::APIGatewayv2::IAccessLogSettings
- Defined in:
- api_gatewayv2/i_access_log_settings.rb
Overview
Settings for access logging.
Class Method Summary collapse
Instance Method Summary collapse
-
#destination ⇒ AWSCDK::APIGatewayv2::IAccessLogDestination
The destination where to write access logs.
-
#format ⇒ AWSCDK::APIGateway::AccessLogFormat?
A single line format of access logs of data, as specified by selected $context variables.
Class Method Details
.jsii_overridable_methods ⇒ Object
27 28 29 30 31 32 |
# File 'api_gatewayv2/i_access_log_settings.rb', line 27 def self.jsii_overridable_methods { :destination => { kind: :property, name: "destination", is_optional: false }, :format => { kind: :property, name: "format", is_optional: true }, } end |
Instance Method Details
#destination ⇒ AWSCDK::APIGatewayv2::IAccessLogDestination
Note:
Default: - No destination
The destination where to write access logs.
11 12 13 |
# File 'api_gatewayv2/i_access_log_settings.rb', line 11 def destination() jsii_get_property("destination") end |
#format ⇒ AWSCDK::APIGateway::AccessLogFormat?
Note:
Default: - Common Log Format
A single line format of access logs of data, as specified by selected $context variables.
The format must include either AccessLogFormat.contextRequestId()
or AccessLogFormat.contextExtendedRequestId().
23 24 25 |
# File 'api_gatewayv2/i_access_log_settings.rb', line 23 def format() jsii_get_property("format") end |