Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayLoggingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayLoggingProperty
- Defined in:
- app_mesh/cfn_virtual_gateway.rb
Overview
An object that represents logging information.
Instance Attribute Summary collapse
-
#access_log ⇒ AWSCDK::IResolvable, ...
readonly
The access log configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_log: nil) ⇒ VirtualGatewayLoggingProperty
constructor
A new instance of VirtualGatewayLoggingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_log: nil) ⇒ VirtualGatewayLoggingProperty
Returns a new instance of VirtualGatewayLoggingProperty.
1669 1670 1671 1672 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1669 def initialize(access_log: nil) @access_log = access_log.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayAccessLogProperty.new(**access_log.transform_keys(&:to_sym)) : access_log Jsii::Type.check_type(@access_log, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5QWNjZXNzTG9nUHJvcGVydHkifV19fQ==")), "accessLog") unless @access_log.nil? end |
Instance Attribute Details
#access_log ⇒ AWSCDK::IResolvable, ... (readonly)
The access log configuration.
1678 1679 1680 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1678 def access_log @access_log end |
Class Method Details
.jsii_properties ⇒ Object
1680 1681 1682 1683 1684 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1680 def self.jsii_properties { :access_log => "accessLog", } end |
Instance Method Details
#to_jsii ⇒ Object
1686 1687 1688 1689 1690 1691 1692 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1686 def to_jsii result = {} result.merge!({ "accessLog" => @access_log, }) result.compact end |