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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forTablePolicyProps
static final class
An implementation forTablePolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TablePolicyProps.Builder
builder()
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.Builder
ofTablePolicyProps
-