Class: AWSCDK::WorkspacesWeb::CfnSessionLogger::LogConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
workspaces_web/cfn_session_logger.rb

Overview

The configuration of the log.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3: nil) ⇒ LogConfigurationProperty

Returns a new instance of LogConfigurationProperty.

Parameters:



647
648
649
650
# File 'workspaces_web/cfn_session_logger.rb', line 647

def initialize(s3: nil)
  @s3 = s3.is_a?(Hash) ? ::AWSCDK::WorkspacesWeb::CfnSessionLogger::S3LogConfigurationProperty.new(**s3.transform_keys(&:to_sym)) : s3
  Jsii::Type.check_type(@s3, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c193b3Jrc3BhY2Vzd2ViLkNmblNlc3Npb25Mb2dnZXIuUzNMb2dDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "s3") unless @s3.nil?
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



658
659
660
661
662
# File 'workspaces_web/cfn_session_logger.rb', line 658

def self.jsii_properties
  {
    :s3 => "s3",
  }
end

Instance Method Details

#to_jsiiObject



664
665
666
667
668
669
670
# File 'workspaces_web/cfn_session_logger.rb', line 664

def to_jsii
  result = {}
  result.merge!({
    "s3" => @s3,
  })
  result.compact
end