Class: AWSCDK::S3Tables::CfnNamespaceProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnNamespaceProps
- Defined in:
- s3_tables/cfn_namespace_props.rb
Overview
Properties for defining a CfnNamespace.
Instance Attribute Summary collapse
-
#namespace ⇒ String
readonly
The name of the namespace.
-
#table_bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the table bucket to create the namespace in.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(namespace:, table_bucket_arn:) ⇒ CfnNamespaceProps
constructor
A new instance of CfnNamespaceProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(namespace:, table_bucket_arn:) ⇒ CfnNamespaceProps
Returns a new instance of CfnNamespaceProps.
11 12 13 14 15 16 |
# File 's3_tables/cfn_namespace_props.rb', line 11 def initialize(namespace:, table_bucket_arn:) @namespace = namespace Jsii::Type.check_type(@namespace, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "namespace") @table_bucket_arn = table_bucket_arn Jsii::Type.check_type(@table_bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableBucketArn") end |
Instance Attribute Details
#namespace ⇒ String (readonly)
The name of the namespace.
22 23 24 |
# File 's3_tables/cfn_namespace_props.rb', line 22 def namespace @namespace end |
#table_bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the table bucket to create the namespace in.
27 28 29 |
# File 's3_tables/cfn_namespace_props.rb', line 27 def table_bucket_arn @table_bucket_arn end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 's3_tables/cfn_namespace_props.rb', line 29 def self.jsii_properties { :namespace => "namespace", :table_bucket_arn => "tableBucketArn", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 's3_tables/cfn_namespace_props.rb', line 36 def to_jsii result = {} result.merge!({ "namespace" => @namespace, "tableBucketArn" => @table_bucket_arn, }) result.compact end |