Class: AWSCDK::S3::CfnBucket::MetadataTableConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3/cfn_bucket.rb

Overview

We recommend that you create your S3 Metadata configurations by using the V2 MetadataConfiguration resource type. We no longer recommend using the V1 MetadataTableConfiguration resource type. > > If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete and re-create your configuration by using the MetadataConfiguration resource type so that you can expire journal table records and create a live inventory table.

Creates a V1 S3 Metadata configuration for a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_tables_destination:) ⇒ MetadataTableConfigurationProperty

Returns a new instance of MetadataTableConfigurationProperty.

Parameters:



2373
2374
2375
2376
# File 's3/cfn_bucket.rb', line 2373

def initialize(s3_tables_destination:)
  @s3_tables_destination = s3_tables_destination.is_a?(Hash) ? ::AWSCDK::S3::CfnBucket::S3TablesDestinationProperty.new(**s3_tables_destination.transform_keys(&:to_sym)) : s3_tables_destination
  Jsii::Type.check_type(@s3_tables_destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5CdWNrZXQuUzNUYWJsZXNEZXN0aW5hdGlvblByb3BlcnR5In1dfX0=")), "s3TablesDestination")
end

Instance Attribute Details

#s3_tables_destinationAWSCDK::IResolvable, AWSCDK::S3::CfnBucket::S3TablesDestinationProperty (readonly)

The destination information for the metadata table configuration.

The destination table bucket must be in the same Region and AWS account as the general purpose bucket. The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.



2384
2385
2386
# File 's3/cfn_bucket.rb', line 2384

def s3_tables_destination
  @s3_tables_destination
end

Class Method Details

.jsii_propertiesObject



2386
2387
2388
2389
2390
# File 's3/cfn_bucket.rb', line 2386

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

Instance Method Details

#to_jsiiObject



2392
2393
2394
2395
2396
2397
2398
# File 's3/cfn_bucket.rb', line 2392

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