> **Experimental**
>
> `@aws-cdk/aws-s3tables-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# TableAttributes

A reference to a table outside this stack.

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

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/table.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts#L637)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `tableArn`: string (required) — The table's ARN.

- `tableName`: string (required) — Name of this table.
