java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.s3tables.alpha.Namespace
All Implemented Interfaces:
IResource, INamespace, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-06T18:14:48.675Z") @Stability(Experimental) public class Namespace extends Resource implements INamespace
(experimental) An S3 Tables Namespace with helpers.

A namespace is a logical container for tables within a table bucket.

Example:

 // Build a namespace
 Namespace sampleNamespace = Namespace.Builder.create(scope, "ExampleNamespace")
         .namespaceName("example-namespace-1")
         .tableBucket(tableBucket)
         .build();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Experimental) public static final String PROPERTY_INJECTION_ID
      (experimental) Uniquely identifies this class.
  • Constructor Details

    • Namespace

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

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

      @Stability(Experimental) public Namespace(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull NamespaceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromNamespaceAttributes

      @Stability(Experimental) @NotNull public static INamespace fromNamespaceAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull NamespaceAttributes attrs)
      (experimental) Import an existing namespace from its attributes.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      attrs - This parameter is required.
    • validateNamespaceName

      @Stability(Experimental) public static void validateNamespaceName(@NotNull String namespaceName)
      (experimental) See https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-naming.html.

      Parameters:
      namespaceName - Name of the namespace. This parameter is required.
    • getNamespaceName

      @Stability(Experimental) @NotNull public String getNamespaceName()
      (experimental) The name of this namespace.
      Specified by:
      getNamespaceName in interface INamespace
    • getTableBucket

      @Stability(Experimental) @NotNull public ITableBucket getTableBucket()
      (experimental) The table bucket which this namespace belongs to.
      Specified by:
      getTableBucket in interface INamespace