Class: AWSCDK::S3::CfnBucket::S3TablesDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnBucket::S3TablesDestinationProperty
- Defined in:
- s3/cfn_bucket.rb
Overview
The destination information for a V1 S3 Metadata 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.
Instance Attribute Summary collapse
-
#table_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration.
-
#table_bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration.
-
#table_name ⇒ String
readonly
The name for the metadata table in your metadata table configuration.
-
#table_namespace ⇒ String?
readonly
The table bucket namespace for the metadata table in your metadata table configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(table_bucket_arn:, table_name:, table_arn: nil, table_namespace: nil) ⇒ S3TablesDestinationProperty
constructor
A new instance of S3TablesDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(table_bucket_arn:, table_name:, table_arn: nil, table_namespace: nil) ⇒ S3TablesDestinationProperty
Returns a new instance of S3TablesDestinationProperty.
4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 |
# File 's3/cfn_bucket.rb', line 4164 def initialize(table_bucket_arn:, table_name:, table_arn: nil, table_namespace: nil) @table_bucket_arn = table_bucket_arn Jsii::Type.check_type(@table_bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableBucketArn") @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") @table_arn = table_arn Jsii::Type.check_type(@table_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableArn") unless @table_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_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration.
The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.
4195 4196 4197 |
# File 's3/cfn_bucket.rb', line 4195 def table_arn @table_arn end |
#table_bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration.
The destination table bucket must be in the same Region and AWS account as the general purpose bucket.
4181 4182 4183 |
# File 's3/cfn_bucket.rb', line 4181 def table_bucket_arn @table_bucket_arn end |
#table_name ⇒ String (readonly)
The name for the metadata table in your metadata table configuration.
The specified metadata table name must be unique within the aws_s3_metadata namespace in the destination table bucket.
4188 4189 4190 |
# File 's3/cfn_bucket.rb', line 4188 def table_name @table_name end |
#table_namespace ⇒ String? (readonly)
The table bucket namespace for the metadata table in your metadata table configuration.
This value is always aws_s3_metadata .
4202 4203 4204 |
# File 's3/cfn_bucket.rb', line 4202 def table_namespace @table_namespace end |
Class Method Details
.jsii_properties ⇒ Object
4204 4205 4206 4207 4208 4209 4210 4211 |
# File 's3/cfn_bucket.rb', line 4204 def self.jsii_properties { :table_bucket_arn => "tableBucketArn", :table_name => "tableName", :table_arn => "tableArn", :table_namespace => "tableNamespace", } end |
Instance Method Details
#to_jsii ⇒ Object
4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 |
# File 's3/cfn_bucket.rb', line 4213 def to_jsii result = {} result.merge!({ "tableBucketArn" => @table_bucket_arn, "tableName" => @table_name, "tableArn" => @table_arn, "tableNamespace" => @table_namespace, }) result.compact end |