Skip to content
v2.277.0

Experimental

@aws-cdk/aws-s3tables-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

TableAttributes Struct ​

A reference to a table outside this stack.

The tableName, region, and account can be provided explicitly or will be inferred from the tableArn

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';
const tableAttributes: s3tables_alpha.TableAttributes = {
  tableArn: 'tableArn',
  tableName: 'tableName',
};
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_attributes = s3tables_alpha.TableAttributes(
    table_arn="tableArn",
    table_name="tableName"
)
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.*;

TableAttributes tableAttributes = TableAttributes.builder()
        .tableArn("tableArn")
        .tableName("tableName")
        .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;

var tableAttributes = new TableAttributes {
    TableArn = "tableArn",
    TableName = "tableName"
};
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"

tableAttributes := &TableAttributes{
	TableArn: jsii.String("tableArn"),
	TableName: jsii.String("tableName"),
}

Properties ​

tableArnstringtable_arnstrtableArnStringTableArnstringTableArn*stringrequired#
The table's ARN.
tableNamestringtable_namestrtableNameStringTableNamestringTableName*stringrequired#
Name of this table.