Skip to content

Put Table Bucket Policy

s3tables_put_table_bucket_policy R Documentation

Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket

Description

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 in the Amazon Simple Storage Service User Guide.

Permissions

You must have the s3tables:PutTableBucketPolicy permission to use this operation.

Usage

s3tables_put_table_bucket_policy(tableBucketARN, resourcePolicy)

Arguments

tableBucketARN

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

resourcePolicy

[required] The JSON that defines the policy.

Value

An empty list.

Request syntax

svc$put_table_bucket_policy(
  tableBucketARN = "string",
  resourcePolicy = "string"
)