Interface TablePolicyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
TablePolicyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-08-27T16:10:35.156Z") @Stability(Experimental) public interface TablePolicyProps extends software.amazon.jsii.JsiiSerializable
(experimental) Parameters for constructing a TablePolicy.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3tables.alpha.*;
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.iam.*;
 PolicyDocument policyDocument;
 Table table;
 TablePolicyProps tablePolicyProps = TablePolicyProps.builder()
         .table(table)
         // the properties below are optional
         .removalPolicy(RemovalPolicy.DESTROY)
         .resourcePolicy(policyDocument)
         .build();
 
  • Method Details

    • getTable

      @Stability(Experimental) @NotNull ITable getTable()
      (experimental) The associated table.
    • getRemovalPolicy

      @Stability(Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
      (experimental) Policy to apply when the policy is removed from this stack.

      Default: - RemovalPolicy.DESTROY.

    • getResourcePolicy

      @Stability(Experimental) @Nullable default PolicyDocument getResourcePolicy()
      (experimental) The policy document for the table's resource policy.

      Default: undefined An empty iam.PolicyDocument will be initialized

    • builder

      @Stability(Experimental) static TablePolicyProps.Builder builder()
      Returns:
      a TablePolicyProps.Builder of TablePolicyProps