AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::S3Tables::TableBucketPolicy

CfnTableBucketPolicy

Creates 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

import { CfnTableBucketPolicy } from 'aws-cdk-lib/aws-s3tables';

Or use the module namespace:

import * as s3tables from 'aws-cdk-lib/aws-s3tables';
// s3tables.CfnTableBucketPolicy

Properties

Configuration passed to the constructor as CfnTableBucketPolicyProps.

resourcePolicyRequired
any

The bucket policy JSON for the table bucket.

tableBucketArnRequired
string

The Amazon Resource Name (ARN) of the table bucket.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-s3tables
CFN TypeAWS::S3Tables::TableBucketPolicy
Properties2

External Links