Class: AWSCDK::S3::CfnStorageLens::StorageLensExpandedPrefixesDataExportProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnStorageLens::StorageLensExpandedPrefixesDataExportProperty
- Defined in:
- s3/cfn_storage_lens.rb
Overview
This resource specifies the properties of your S3 Storage Lens Expanded Prefixes metrics export.
Instance Attribute Summary collapse
-
#s3_bucket_destination ⇒ AWSCDK::IResolvable, ...
readonly
This property specifies the general purpose bucket where the S3 Storage Lens Expanded Prefixes metrics export files are located.
-
#storage_lens_table_destination ⇒ AWSCDK::IResolvable, ...
readonly
This property configures S3 Storage Lens Expanded Prefixes metrics report to read-only S3 table buckets.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_bucket_destination: nil, storage_lens_table_destination: nil) ⇒ StorageLensExpandedPrefixesDataExportProperty
constructor
A new instance of StorageLensExpandedPrefixesDataExportProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_bucket_destination: nil, storage_lens_table_destination: nil) ⇒ StorageLensExpandedPrefixesDataExportProperty
Returns a new instance of StorageLensExpandedPrefixesDataExportProperty.
1473 1474 1475 1476 1477 1478 |
# File 's3/cfn_storage_lens.rb', line 1473 def initialize(s3_bucket_destination: nil, storage_lens_table_destination: nil) @s3_bucket_destination = s3_bucket_destination.is_a?(Hash) ? ::AWSCDK::S3::CfnStorageLens::S3BucketDestinationProperty.new(**s3_bucket_destination.transform_keys(&:to_sym)) : s3_bucket_destination Jsii::Type.check_type(@s3_bucket_destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5TdG9yYWdlTGVucy5TM0J1Y2tldERlc3RpbmF0aW9uUHJvcGVydHkifV19fQ==")), "s3BucketDestination") unless @s3_bucket_destination.nil? @storage_lens_table_destination = storage_lens_table_destination.is_a?(Hash) ? ::AWSCDK::S3::CfnStorageLens::StorageLensTableDestinationProperty.new(**storage_lens_table_destination.transform_keys(&:to_sym)) : storage_lens_table_destination Jsii::Type.check_type(@storage_lens_table_destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5TdG9yYWdlTGVucy5TdG9yYWdlTGVuc1RhYmxlRGVzdGluYXRpb25Qcm9wZXJ0eSJ9XX19")), "storageLensTableDestination") unless @storage_lens_table_destination.nil? end |
Instance Attribute Details
#s3_bucket_destination ⇒ AWSCDK::IResolvable, ... (readonly)
This property specifies the general purpose bucket where the S3 Storage Lens Expanded Prefixes metrics export files are located.
At least one export destination must be specified.
1486 1487 1488 |
# File 's3/cfn_storage_lens.rb', line 1486 def s3_bucket_destination @s3_bucket_destination end |
#storage_lens_table_destination ⇒ AWSCDK::IResolvable, ... (readonly)
This property configures S3 Storage Lens Expanded Prefixes metrics report to read-only S3 table buckets.
1491 1492 1493 |
# File 's3/cfn_storage_lens.rb', line 1491 def storage_lens_table_destination @storage_lens_table_destination end |
Class Method Details
.jsii_properties ⇒ Object
1493 1494 1495 1496 1497 1498 |
# File 's3/cfn_storage_lens.rb', line 1493 def self.jsii_properties { :s3_bucket_destination => "s3BucketDestination", :storage_lens_table_destination => "storageLensTableDestination", } end |
Instance Method Details
#to_jsii ⇒ Object
1500 1501 1502 1503 1504 1505 1506 1507 |
# File 's3/cfn_storage_lens.rb', line 1500 def to_jsii result = {} result.merge!({ "s3BucketDestination" => @s3_bucket_destination, "storageLensTableDestination" => @storage_lens_table_destination, }) result.compact end |