Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayAccessLogProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayAccessLogProperty
- Defined in:
- app_mesh/cfn_virtual_gateway.rb
Overview
The access log configuration for a virtual gateway.
Instance Attribute Summary collapse
-
#file ⇒ AWSCDK::IResolvable, ...
readonly
The file object to send virtual gateway access logs to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file: nil) ⇒ VirtualGatewayAccessLogProperty
constructor
A new instance of VirtualGatewayAccessLogProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(file: nil) ⇒ VirtualGatewayAccessLogProperty
Returns a new instance of VirtualGatewayAccessLogProperty.
776 777 778 779 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 776 def initialize(file: nil) @file = file.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayFileAccessLogProperty.new(**file.transform_keys(&:to_sym)) : file Jsii::Type.check_type(@file, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5RmlsZUFjY2Vzc0xvZ1Byb3BlcnR5In1dfX0=")), "file") unless @file.nil? end |
Instance Attribute Details
#file ⇒ AWSCDK::IResolvable, ... (readonly)
The file object to send virtual gateway access logs to.
785 786 787 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 785 def file @file end |
Class Method Details
.jsii_properties ⇒ Object
787 788 789 790 791 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 787 def self.jsii_properties { :file => "file", } end |
Instance Method Details
#to_jsii ⇒ Object
793 794 795 796 797 798 799 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 793 def to_jsii result = {} result.merge!({ "file" => @file, }) result.compact end |