Init
This commit is contained in:
commit
0029086b3f
148 changed files with 19047 additions and 0 deletions
16
commands/add-object/template/api/blank-dynamodb.yml
Normal file
16
commands/add-object/template/api/blank-dynamodb.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
Resources:
|
||||
{{ nameCamel }}Table:
|
||||
Type: AWS::DynamoDB::Table
|
||||
DeletionPolicy: ${self:custom.deletionPolicy.${opt:stage}}
|
||||
UpdateReplacePolicy: ${self:custom.updatePolicy.${opt:stage}}
|
||||
Properties:
|
||||
TableName: ${env:APP_NAME}-${opt:stage}-{{ nameKebab }}
|
||||
AttributeDefinitions:
|
||||
- AttributeName: {{ primaryKey }}
|
||||
AttributeType: S
|
||||
KeySchema:
|
||||
- AttributeName: {{ primaryKey }}
|
||||
KeyType: HASH
|
||||
BillingMode: PAY_PER_REQUEST
|
||||
PointInTimeRecoverySpecification:
|
||||
PointInTimeRecoveryEnabled: true
|
Loading…
Add table
Add a link
Reference in a new issue