Interface TablePolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TablePolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.373Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTablePolicyPropsstatic final classAn implementation forTablePolicyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic TablePolicyProps.Builderbuilder()default RemovalPolicy(experimental) Policy to apply when the policy is removed from this stack.default PolicyDocument(experimental) The policy document for the table's resource policy.getTable()(experimental) The associated table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTable
(experimental) The associated table. -
getRemovalPolicy
(experimental) Policy to apply when the policy is removed from this stack.Default: - RemovalPolicy.DESTROY.
-
getResourcePolicy
(experimental) The policy document for the table's resource policy.Default: undefined An empty iam.PolicyDocument will be initialized
-
builder
- Returns:
- a
TablePolicyProps.BuilderofTablePolicyProps
-