Class: AWSCDK::S3Tables::CfnNamespaceProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3_tables/cfn_namespace_props.rb

Overview

Properties for defining a CfnNamespace.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace:, table_bucket_arn:) ⇒ CfnNamespaceProps

Returns a new instance of CfnNamespaceProps.

Parameters:

  • namespace (String)

    The name of the namespace.

  • table_bucket_arn (String)

    The Amazon Resource Name (ARN) of the table bucket to create the namespace in.



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

#namespaceString (readonly)

The name of the namespace.



22
23
24
# File 's3_tables/cfn_namespace_props.rb', line 22

def namespace
  @namespace
end

#table_bucket_arnString (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_propertiesObject



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_jsiiObject



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