Skip to content

Commit 1a63860

Browse files
author
awstools
committed
docs(client-dynamodb): Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy.
1 parent 1be7eb2 commit 1a63860

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: clients/client-dynamodb/src/models/models_0.ts

+3
Original file line numberDiff line numberDiff line change
@@ -2738,6 +2738,9 @@ export interface CreateTableInput {
27382738
* <p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>
27392739
* <p>When you attach a resource-based policy while creating a table, the policy application is <i>strongly consistent</i>.</p>
27402740
* <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html">Resource-based policy considerations</a>.</p>
2741+
* <note>
2742+
* <p>You need to specify the <code>CreateTable</code> and <code>PutResourcePolicy</code> IAM actions for authorizing a user to create a table with a resource-based policy.</p>
2743+
* </note>
27412744
* @public
27422745
*/
27432746
ResourcePolicy?: string;

Diff for: codegen/sdk-codegen/aws-models/dynamodb.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@
22092209
"ResourcePolicy": {
22102210
"target": "com.amazonaws.dynamodb#ResourcePolicy",
22112211
"traits": {
2212-
"smithy.api#documentation": "<p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>\n <p>When you attach a resource-based policy while creating a table, the policy application is <i>strongly consistent</i>.</p>\n <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html\">Resource-based policy considerations</a>.</p>"
2212+
"smithy.api#documentation": "<p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>\n <p>When you attach a resource-based policy while creating a table, the policy application is <i>strongly consistent</i>.</p>\n <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html\">Resource-based policy considerations</a>.</p>\n <note>\n <p>You need to specify the <code>CreateTable</code> and <code>PutResourcePolicy</code> IAM actions for authorizing a user to create a table with a resource-based policy.</p>\n </note>"
22132213
}
22142214
},
22152215
"OnDemandThroughput": {

0 commit comments

Comments
 (0)