Class CfnNamespace

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-16T11:43:22.231Z") @Stability(Stable) public class CfnNamespace extends CfnResource implements IInspectable
Creates a namespace.

A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see Create a namespace in the Amazon Simple Storage Service User Guide .

  • Permissions - You must have the s3tables:CreateNamespace permission to use this operation.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3tables.*;
 CfnNamespace cfnNamespace = CfnNamespace.Builder.create(this, "MyCfnNamespace")
         .namespace("namespace")
         .tableBucketArn("tableBucketArn")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnNamespace

      protected CfnNamespace(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnNamespace

      protected CfnNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnNamespace

      @Stability(Stable) public CfnNamespace(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNamespaceProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getNamespace

      @Stability(Stable) @NotNull public String getNamespace()
      The name of the namespace.
    • setNamespace

      @Stability(Stable) public void setNamespace(@NotNull String value)
      The name of the namespace.
    • getTableBucketArn

      @Stability(Stable) @NotNull public String getTableBucketArn()
      The Amazon Resource Name (ARN) of the specified table bucket.
    • setTableBucketArn

      @Stability(Stable) public void setTableBucketArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the specified table bucket.