Class: AWSCDK::S3::CfnBucket::MetadataDestinationProperty

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

Overview

The destination information for the S3 Metadata configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_bucket_type:, table_bucket_arn: nil, table_namespace: nil) ⇒ MetadataDestinationProperty

Returns a new instance of MetadataDestinationProperty.

Parameters:

  • table_bucket_type (String)

    The type of the table bucket where the metadata configuration is stored.

  • table_bucket_arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored.

  • table_namespace (String, nil) (defaults to: nil)

    The namespace in the table bucket where the metadata tables for a metadata configuration are stored.



2318
2319
2320
2321
2322
2323
2324
2325
# File 's3/cfn_bucket.rb', line 2318

def initialize(table_bucket_type:, table_bucket_arn: nil, table_namespace: nil)
  @table_bucket_type = table_bucket_type
  Jsii::Type.check_type(@table_bucket_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableBucketType")
  @table_bucket_arn = table_bucket_arn
  Jsii::Type.check_type(@table_bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableBucketArn") unless @table_bucket_arn.nil?
  @table_namespace = table_namespace
  Jsii::Type.check_type(@table_namespace, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableNamespace") unless @table_namespace.nil?
end

Instance Attribute Details

#table_bucket_arnString? (readonly)

The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored.



2338
2339
2340
# File 's3/cfn_bucket.rb', line 2338

def table_bucket_arn
  @table_bucket_arn
end

#table_bucket_typeString (readonly)

The type of the table bucket where the metadata configuration is stored.

The aws value indicates an AWS managed table bucket, and the customer value indicates a customer-managed table bucket. V2 metadata configurations are stored in AWS managed table buckets, and V1 metadata configurations are stored in customer-managed table buckets.



2333
2334
2335
# File 's3/cfn_bucket.rb', line 2333

def table_bucket_type
  @table_bucket_type
end

#table_namespaceString? (readonly)

The namespace in the table bucket where the metadata tables for a metadata configuration are stored.



2343
2344
2345
# File 's3/cfn_bucket.rb', line 2343

def table_namespace
  @table_namespace
end

Class Method Details

.jsii_propertiesObject



2345
2346
2347
2348
2349
2350
2351
# File 's3/cfn_bucket.rb', line 2345

def self.jsii_properties
  {
    :table_bucket_type => "tableBucketType",
    :table_bucket_arn => "tableBucketArn",
    :table_namespace => "tableNamespace",
  }
end

Instance Method Details

#to_jsiiObject



2353
2354
2355
2356
2357
2358
2359
2360
2361
# File 's3/cfn_bucket.rb', line 2353

def to_jsii
  result = {}
  result.merge!({
    "tableBucketType" => @table_bucket_type,
    "tableBucketArn" => @table_bucket_arn,
    "tableNamespace" => @table_namespace,
  })
  result.compact
end