AWS AWSCloudFormation documentation change
Summary
Minor text updates replacing 'AWS CloudFormation' with 'CloudFormation' in introductory paragraphs
Security assessment
Cosmetic changes to branding terminology without any security implications. No security content was added or modified.
Diff
diff --git a/AWSCloudFormation/latest/TemplateReference/aws-resource-dynamodb-table.md b/AWSCloudFormation/latest/TemplateReference/aws-resource-dynamodb-table.md index 1b3fe91e1..120a54df8 100644 --- a//AWSCloudFormation/latest/TemplateReference/aws-resource-dynamodb-table.md +++ b//AWSCloudFormation/latest/TemplateReference/aws-resource-dynamodb-table.md @@ -5 +5 @@ SyntaxPropertiesReturn valuesExamples -This is the new _AWS CloudFormation Template Reference Guide_. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). +This is the new _CloudFormation Template Reference Guide_. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). @@ -24 +24 @@ Our guidance is to use the latest schema documented for your AWS CloudFormation -To declare this entity in your AWS CloudFormation template, use the following syntax: +To declare this entity in your CloudFormation template, use the following syntax: @@ -441,20 +441,115 @@ For querying the sales of an album, the local secondary index uses the same hash - { "AWSTemplateFormatVersion" : "2010-09-09", "Resources" : { - "myDynamoDBTable" : { "Type" : "AWS::DynamoDB::Table", "Properties" : { - "AttributeDefinitions" : [ { "AttributeName" : "Album", "AttributeType" : "S" }, { - "AttributeName" : "Artist", "AttributeType" : "S" }, { "AttributeName" : "Sales", - "AttributeType" : "N" }, { "AttributeName" : "NumberOfSongs", "AttributeType" : "N" } ], - "KeySchema" : [ { "AttributeName" : "Album", "KeyType" : "HASH" }, { "AttributeName" : - "Artist", "KeyType" : "RANGE" } ], "ProvisionedThroughput" : { "ReadCapacityUnits" : - "5", "WriteCapacityUnits" : "5" }, "TableName" : "myTableName", "GlobalSecondaryIndexes" - : [{ "IndexName" : "myGSI", "KeySchema" : [ { "AttributeName" : "Sales", "KeyType" : - "HASH" }, { "AttributeName" : "Artist", "KeyType" : "RANGE" } ], "Projection" : { - "NonKeyAttributes" : ["Album","NumberOfSongs"], "ProjectionType" : "INCLUDE" }, - "ProvisionedThroughput" : { "ReadCapacityUnits" : "5", "WriteCapacityUnits" : "5" } }, { - "IndexName" : "myGSI2", "KeySchema" : [ { "AttributeName" : "NumberOfSongs", "KeyType" : - "HASH" }, { "AttributeName" : "Sales", "KeyType" : "RANGE" } ], "Projection" : { - "NonKeyAttributes" : ["Album","Artist"], "ProjectionType" : "INCLUDE" }, - "ProvisionedThroughput" : { "ReadCapacityUnits" : "5", "WriteCapacityUnits" : "5" } }], - "LocalSecondaryIndexes" :[{ "IndexName" : "myLSI", "KeySchema" : [ { "AttributeName" : - "Album", "KeyType" : "HASH" }, { "AttributeName" : "Sales", "KeyType" : "RANGE" } ], - "Projection" : { "NonKeyAttributes" : ["Artist","NumberOfSongs"], "ProjectionType" : - "INCLUDE" } }] } } } } + { + "AWSTemplateFormatVersion": "2010-09-09", + "Resources": { + "myDynamoDBTable": { + "Type": "AWS::DynamoDB::Table", + "Properties": { + "AttributeDefinitions": [ + { + "AttributeName": "Album", + "AttributeType": "S" + }, + { + "AttributeName": "Artist", + "AttributeType": "S" + }, + { + "AttributeName": "Sales", + "AttributeType": "N" + }, + { + "AttributeName": "NumberOfSongs", + "AttributeType": "N" + } + ], + "KeySchema": [ + { + "AttributeName": "Album", + "KeyType": "HASH" + }, + { + "AttributeName": "Artist", + "KeyType": "RANGE" + } + ], + "ProvisionedThroughput": { + "ReadCapacityUnits": "5", + "WriteCapacityUnits": "5" + }, + "TableName": "myTableName", + "GlobalSecondaryIndexes": [ + { + "IndexName": "myGSI", + "KeySchema": [ + { + "AttributeName": "Sales", + "KeyType": "HASH" + }, + { + "AttributeName": "Artist", + "KeyType": "RANGE" + } + ], + "Projection": { + "NonKeyAttributes": [ + "Album", + "NumberOfSongs" + ], + "ProjectionType": "INCLUDE" + }, + "ProvisionedThroughput": { + "ReadCapacityUnits": "5", + "WriteCapacityUnits": "5" + } + }, + { + "IndexName": "myGSI2", + "KeySchema": [ + { + "AttributeName": "NumberOfSongs", + "KeyType": "HASH" + }, + { + "AttributeName": "Sales", + "KeyType": "RANGE" + } + ], + "Projection": { + "NonKeyAttributes": [ + "Album", + "Artist" + ], + "ProjectionType": "INCLUDE" + }, + "ProvisionedThroughput": { + "ReadCapacityUnits": "5", + "WriteCapacityUnits": "5" + } + } + ], + "LocalSecondaryIndexes": [ + { + "IndexName": "myLSI", + "KeySchema": [ + { + "AttributeName": "Album", + "KeyType": "HASH" + }, + { + "AttributeName": "Sales", + "KeyType": "RANGE" + } + ], + "Projection": { + "NonKeyAttributes": [ + "Artist", + "NumberOfSongs" + ], + "ProjectionType": "INCLUDE" + } + } + ] + } + } + } + } @@ -465,17 +560,64 @@ For querying the sales of an album, the local secondary index uses the same hash - AWSTemplateFormatVersion: "2010-09-09" Resources: myDynamoDBTable: - Type: AWS::DynamoDB::Table Properties: AttributeDefinitions: - AttributeName: "Album" - AttributeType: "S" - AttributeName: "Artist" AttributeType: "S" - AttributeName: "Sales" - AttributeType: "N" - AttributeName: "NumberOfSongs" AttributeType: "N" KeySchema: - - AttributeName: "Album" KeyType: "HASH" - AttributeName: "Artist" KeyType: "RANGE" - ProvisionedThroughput: ReadCapacityUnits: "5" WriteCapacityUnits: "5" TableName: - "myTableName" GlobalSecondaryIndexes: - IndexName: "myGSI" KeySchema: - AttributeName: - "Sales" KeyType: "HASH" - AttributeName: "Artist" KeyType: "RANGE" Projection: - NonKeyAttributes: - "Album" - "NumberOfSongs" ProjectionType: "INCLUDE" - ProvisionedThroughput: ReadCapacityUnits: "5" WriteCapacityUnits: "5" - IndexName: - "myGSI2" KeySchema: - AttributeName: "NumberOfSongs" KeyType: "HASH" - AttributeName: - "Sales" KeyType: "RANGE" Projection: NonKeyAttributes: - "Album" - "Artist" - ProjectionType: "INCLUDE" ProvisionedThroughput: ReadCapacityUnits: "5" - WriteCapacityUnits: "5" LocalSecondaryIndexes: - IndexName: "myLSI" KeySchema: - - AttributeName: "Album" KeyType: "HASH" - AttributeName: "Sales" KeyType: "RANGE" - Projection: NonKeyAttributes: - "Artist" - "NumberOfSongs" ProjectionType: - "INCLUDE" + AWSTemplateFormatVersion: '2010-09-09' + Resources: + myDynamoDBTable: + Type: AWS::DynamoDB::Table + Properties: + AttributeDefinitions: + - AttributeName: Album + AttributeType: S + - AttributeName: Artist + AttributeType: S + - AttributeName: Sales + AttributeType: 'N' + - AttributeName: NumberOfSongs + AttributeType: 'N' + KeySchema: + - AttributeName: Album + KeyType: HASH + - AttributeName: Artist + KeyType: RANGE + ProvisionedThroughput: + ReadCapacityUnits: '5' + WriteCapacityUnits: '5' + TableName: myTableName + GlobalSecondaryIndexes: + - IndexName: myGSI + KeySchema: + - AttributeName: Sales + KeyType: HASH + - AttributeName: Artist + KeyType: RANGE + Projection: + NonKeyAttributes: + - Album + - NumberOfSongs + ProjectionType: INCLUDE + ProvisionedThroughput: