Class: AWSCDK::S3::CfnStorageLens::StorageLensTableDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnStorageLens::StorageLensTableDestinationProperty
- Defined in:
- s3/cfn_storage_lens.rb
Overview
This resource configures your S3 Storage Lens reports to export to read-only S3 table buckets.
With this resource, you can store your Storage Lens metrics in S3 Tables that are created in a read-only S3 table bucket called aws-s3.
Instance Attribute Summary collapse
-
#encryption ⇒ AWSCDK::IResolvable, ...
readonly
This resource configures your data encryption settings for Storage Lens metrics in read-only S3 table buckets.
-
#is_enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
This property indicates whether the export to read-only S3 table buckets is enabled for your S3 Storage Lens configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(is_enabled:, encryption: nil) ⇒ StorageLensTableDestinationProperty
constructor
A new instance of StorageLensTableDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(is_enabled:, encryption: nil) ⇒ StorageLensTableDestinationProperty
Returns a new instance of StorageLensTableDestinationProperty.
1600 1601 1602 1603 1604 1605 |
# File 's3/cfn_storage_lens.rb', line 1600 def initialize(is_enabled:, encryption: nil) @is_enabled = is_enabled Jsii::Type.check_type(@is_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isEnabled") @encryption = encryption.is_a?(Hash) ? ::AWSCDK::S3::CfnStorageLens::EncryptionProperty.new(**encryption.transform_keys(&:to_sym)) : encryption Jsii::Type.check_type(@encryption, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5TdG9yYWdlTGVucy5FbmNyeXB0aW9uUHJvcGVydHkifV19fQ==")), "encryption") unless @encryption.nil? end |
Instance Attribute Details
#encryption ⇒ AWSCDK::IResolvable, ... (readonly)
This resource configures your data encryption settings for Storage Lens metrics in read-only S3 table buckets.
1618 1619 1620 |
# File 's3/cfn_storage_lens.rb', line 1618 def encryption @encryption end |
#is_enabled ⇒ Boolean, AWSCDK::IResolvable (readonly)
This property indicates whether the export to read-only S3 table buckets is enabled for your S3 Storage Lens configuration.
When set to true, Storage Lens reports are automatically exported to tables in addition to other configured destinations.
1613 1614 1615 |
# File 's3/cfn_storage_lens.rb', line 1613 def is_enabled @is_enabled end |
Class Method Details
.jsii_properties ⇒ Object
1620 1621 1622 1623 1624 1625 |
# File 's3/cfn_storage_lens.rb', line 1620 def self.jsii_properties { :is_enabled => "isEnabled", :encryption => "encryption", } end |
Instance Method Details
#to_jsii ⇒ Object
1627 1628 1629 1630 1631 1632 1633 1634 |
# File 's3/cfn_storage_lens.rb', line 1627 def to_jsii result = {} result.merge!({ "isEnabled" => @is_enabled, "encryption" => @encryption, }) result.compact end |