# TableAttributes

Used as argument in: [TableBase.fromTableAttributes](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_glue.TableBase.html#fromtableattributes)

- Source: [`aws-glue/lib/table-base.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-glue/lib/table-base.ts#L47)
- Type last changed: v2.270.0 · 17 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const tableAttributes: glue.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.
from aws_cdk import aws_glue as glue

table_attributes = glue.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.glue.*;

TableAttributes tableAttributes = TableAttributes.builder()
        .tableArn("tableArn")
        .tableName("tableName")
        .build();
```

C# / .NET:

```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.Glue;

var tableAttributes = new TableAttributes {
    TableArn = "tableArn",
    TableName = "tableName"
};
```

Golang:

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

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

## Properties

- `tableArn`: string (required)

- `tableName`: string (required)
