interface NamespaceProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3Tables.Alpha.NamespaceProps |
![]() | software.amazon.awscdk.services.s3tables.alpha.NamespaceProps |
![]() | aws_cdk.aws_s3tables_alpha.NamespaceProps |
![]() | @aws-cdk/aws-s3tables-alpha ยป NamespaceProps |
Parameters for constructing a Namespace.
Example
// Build a namespace
const sampleNamespace = new Namespace(scope, 'ExampleNamespace', {
namespaceName: 'example-namespace-1',
tableBucket: tableBucket,
});
Properties
Name | Type | Description |
---|---|---|
namespace | string | A name for the namespace. |
table | ITable | The table bucket this namespace belongs to. |
removal | Removal | Policy to apply when the policy is removed from this stack. |
namespaceName
Type:
string
A name for the namespace.
tableBucket
Type:
ITable
The table bucket this namespace belongs to.
removalPolicy?
Type:
Removal
(optional, default: RemovalPolicy.DESTROY)
Policy to apply when the policy is removed from this stack.