Skip to content

Commit 017900b

Browse files
chrisoverzeroShreya
authored andcommitted
docs: clarify AWS::Serverless::SimpleTable.PrimaryKey Default Value (#1090)
1 parent c71f404 commit 017900b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versions/2016-10-31.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ The `AWS::Serverless::SimpleTable` resource creates a DynamoDB table with a sing
313313

314314
Property Name | Type | Description
315315
---|:---:|---
316-
PrimaryKey | [Primary Key Object](#primary-key-object) | Attribute name and type to be used as the table's primary key. **This cannot be modified without replacing the resource.** Defaults to `String` attribute named ID.
316+
PrimaryKey | [Primary Key Object](#primary-key-object) | Attribute name and type to be used as the table's primary key. **This cannot be modified without replacing the resource.** Defaults to `String` attribute named `id`.
317317
ProvisionedThroughput | [Provisioned Throughput Object](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html) | Read and write throughput provisioning information. If ProvisionedThroughput is not specified BillingMode will be specified as PAY_PER_REQUEST
318318
Tags | Map of `string` to `string` | A map (string to string) that specifies the tags to be added to this table. Keys and values are limited to alphanumeric characters.
319319
TableName | `string` | Name for the DynamoDB Table
@@ -712,7 +712,7 @@ The object describing the properties of a primary key.
712712
Property Name | Type | Description
713713
---|:---:|---
714714
Name | `string` | Attribute name of the primary key. Defaults to `id`.
715-
Type | `string` | Attribute type of the primary key. MUST be one of `String`, `Number`, or `Binary`.
715+
Type | `string` | Attribute type of the primary key. MUST be one of `String`, `Number`, or `Binary`. Defaults to `String`.
716716

717717
##### Example: Primary key object
718718

0 commit comments

Comments
 (0)