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

Parameters for constructing a TableBucketPolicy.

Extends: TableBucketPolicyProps
Used as props by: TableBucketPolicy

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

## 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';
import * as cdk from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const policyDocument: iam.PolicyDocument;
declare const tableBucket: s3tables_alpha.TableBucket;
const tableBucketPolicyProps: s3tables_alpha.TableBucketPolicyProps = {
  tableBucket: tableBucket,

  // the properties below are optional
  removalPolicy: cdk.RemovalPolicy.DESTROY,
  resourcePolicy: policyDocument,
};
```

## Properties

- `removalPolicy`: [RemovalPolicy](/cdk/api/v2/docs/aws-cdk-lib.RemovalPolicy.html) = RemovalPolicy.DESTROY. — Policy to apply when the policy is removed from this stack.

- `resourcePolicy`: [PolicyDocument](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.PolicyDocument.html) — The policy document for the bucket's resource policy.

  **Default:** undefined An empty iam.PolicyDocument will be initialized

- `tableBucket`: [ITableBucket](/cdk/api/v2/docs/@aws-cdk_aws-s3tables-alpha.ITableBucket.html) (required) — The associated table bucket.
