# CfnNamespaceProps

Struct · External

Properties for defining a `CfnNamespace`.

Used as props by: [CfnNamespace](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3tables.CfnNamespace.html)

- Source: Generated at build time
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3tables as s3tables } from 'aws-cdk-lib';
const cfnNamespaceProps: s3tables.CfnNamespaceProps = {
  namespace: 'namespace',
  tableBucketArn: 'tableBucketArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3tables as s3tables

cfn_namespace_props = s3tables.CfnNamespaceProps(
    namespace="namespace",
    table_bucket_arn="tableBucketArn"
)
```

Java:

```java
// 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.*;

CfnNamespaceProps cfnNamespaceProps = CfnNamespaceProps.builder()
        .namespace("namespace")
        .tableBucketArn("tableBucketArn")
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Tables;

var cfnNamespaceProps = new CfnNamespaceProps {
    Namespace = "namespace",
    TableBucketArn = "tableBucketArn"
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnNamespaceProps := &CfnNamespaceProps{
	Namespace: jsii.String("namespace"),
	TableBucketArn: jsii.String("tableBucketArn"),
}
```

## Properties

- `namespace`: string (required) — The name of the namespace.

- `tableBucketArn`: string (required) — The Amazon Resource Name (ARN) of the table bucket to create the namespace in.
