Skip to content
v2.273.0

Experimental

@aws-cdk/aws-s3tables-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

TableBucketPolicyProps Struct ​

Parameters for constructing a TableBucketPolicy.

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 ​

removalPolicyRemovalPolicyremoval_policyRemovalPolicyremovalPolicyRemovalPolicyRemovalPolicyRemovalPolicyRemovalPolicyRemovalPolicy= RemovalPolicy.DESTROY.#
Policy to apply when the policy is removed from this stack.
resourcePolicyPolicyDocumentresource_policyPolicyDocumentresourcePolicyPolicyDocumentResourcePolicyPolicyDocumentResourcePolicyPolicyDocument= undefined An empty iam.PolicyDoc…#
The policy document for the bucket's resource policy.
default

Default: undefined An empty iam.PolicyDocument will be initialized

tableBucketITableBuckettable_bucketITableBuckettableBucketITableBucketTableBucketITableBucketTableBucketITableBucketrequired#
The associated table bucket.

Used as props by ​