AWS::S3Tables::TableBucketPolicyCreates a new maintenance configuration or replaces an existing table bucket policy for a table bucket. For more information, see [Adding a table bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add) in the *Amazon Simple Storage Service User Guide* . - **Permissions** - You must have the `s3tables:PutTableBucketPolicy` permission to use this operation. - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options: - NPM: `npm i
import { CfnTableBucketPolicy } from 'aws-cdk-lib/aws-s3tables';Or use the module namespace:
import * as s3tables from 'aws-cdk-lib/aws-s3tables';
// s3tables.CfnTableBucketPolicyConfiguration passed to the constructor as CfnTableBucketPolicyProps.
resourcePolicyRequiredanyThe bucket policy JSON for the table bucket.
tableBucketArnRequiredstringThe Amazon Resource Name (ARN) of the table bucket.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-s3tablesAWS::S3Tables::TableBucketPolicy