Experimental
@aws-cdk/aws-s3tables-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
NamespaceAttributes Struct
Attributes for importing an existing namespace.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3tables_alpha from '@aws-cdk/aws-s3tables-alpha';
declare const tableBucket: s3tables_alpha.TableBucket;
const namespaceAttributes: s3tables_alpha.NamespaceAttributes = {
namespaceName: 'namespaceName',
tableBucket: tableBucket,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_s3tables_alpha as s3tables_alpha
# table_bucket: s3tables_alpha.TableBucket
namespace_attributes = s3tables_alpha.NamespaceAttributes(
namespace_name="namespaceName",
table_bucket=table_bucket
)
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.alpha.*;
TableBucket tableBucket;
NamespaceAttributes namespaceAttributes = NamespaceAttributes.builder()
.namespaceName("namespaceName")
.tableBucket(tableBucket)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.S3Tables.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Tables.Alpha;
TableBucket tableBucket;
var namespaceAttributes = new NamespaceAttributes {
NamespaceName = "namespaceName",
TableBucket = tableBucket
};
go
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import s3tables_alpha "github.com/aws-samples/dummy/awscdkawss3tablesalpha"
var tableBucket TableBucket
namespaceAttributes := &NamespaceAttributes{
NamespaceName: jsii.String("namespaceName"),
TableBucket: tableBucket,
}
Properties
namespaceNamestringnamespace_namestrnamespaceNameStringNamespaceNamestringNamespaceName*stringrequired#The name of the namespace.
tableBucketITableBuckettable_bucketITableBuckettableBucketITableBucketTableBucketITableBucketTableBucketITableBucketrequired#The table bucket this namespace belongs to.