AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Returns a new Amazon.PowerShell.Cmdlets.DDB.Model.TableSchema object for constructing an Amazon DynamoDB key schema for use with New-DDBTable.

Syntax

New-DDBTableSchema

Description

Returns a new TableSchema object for constructing an Amazon DynamoDB key schema for use with New-DDBTable.

Outputs

This cmdlet returns a new Amazon.PowerShell.Cmdlets.DDB.Model.TableSchema object.

Examples

Example 1

New-DDBTableSchema

AttributeSchema KeySchema LocalSecondaryIndexSchema
--------------- --------- -------------------------
{} {} {}
Creates an empty TableSchema object ready to accept key and index definitions for use in creating a new Amazon DynamoDB table. The returned object can be piped into the Add-DDBKeySchema, Add-DDBIndexSchema and New-DDBTable cmdlets or passed to them using the -Schema parameter on each cmdlet.

Supported Version

AWS Tools for PowerShell: 2.x.y.z