Class: AWSCDK::Athena::CfnWorkGroup::ManagedLoggingConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Athena::CfnWorkGroup::ManagedLoggingConfigurationProperty
- Defined in:
- athena/cfn_work_group.rb
Overview
Configuration settings for delivering logs to Amazon S3 buckets.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Enables mamanged log persistence.
-
#kms_key ⇒ String?
readonly
The KMS key ARN to encrypt the logs stored in managed log persistence.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil, kms_key: nil) ⇒ ManagedLoggingConfigurationProperty
constructor
A new instance of ManagedLoggingConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil, kms_key: nil) ⇒ ManagedLoggingConfigurationProperty
Returns a new instance of ManagedLoggingConfigurationProperty.
999 1000 1001 1002 1003 1004 |
# File 'athena/cfn_work_group.rb', line 999 def initialize(enabled: nil, kms_key: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? @kms_key = kms_key Jsii::Type.check_type(@kms_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKey") unless @kms_key.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Enables mamanged log persistence.
1010 1011 1012 |
# File 'athena/cfn_work_group.rb', line 1010 def enabled @enabled end |
#kms_key ⇒ String? (readonly)
The KMS key ARN to encrypt the logs stored in managed log persistence.
1015 1016 1017 |
# File 'athena/cfn_work_group.rb', line 1015 def kms_key @kms_key end |
Class Method Details
.jsii_properties ⇒ Object
1017 1018 1019 1020 1021 1022 |
# File 'athena/cfn_work_group.rb', line 1017 def self.jsii_properties { :enabled => "enabled", :kms_key => "kmsKey", } end |
Instance Method Details
#to_jsii ⇒ Object
1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'athena/cfn_work_group.rb', line 1024 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "kmsKey" => @kms_key, }) result.compact end |