👾DynamoDB
ddb.createTable({
// ...
AttributeDefinitions: [
{
AttributeName: 'AppId',
AttributeType: 'S',
},
{
AttributeName: 'AppKey',
AttributeType: 'S',
},
],
KeySchema: [{
AttributeName: 'AppId',
KeyType: 'HASH',
}],
GlobalSecondaryIndexes: [{
IndexName: 'AppKeyIndex',
KeySchema: [{
AttributeName: 'AppKey',
KeyType: 'HASH',
}],
Projection: {
ProjectionType: 'ALL',
},
ProvisionedThroughput: {
// ...
},
}],
// ...
});IAM Permissions
Environment Variables
Limits on an app-by-app basis
最后更新于