Bal*_*u R 2 amazon-dynamodb aws-lambda serverless-framework
我想为 Dynamo DB 设置标签,我们是否有一个 serverless.yml 配置,就像我们有它的功能一样
functions:
createUsers:
tags:
key: value
Run Code Online (Sandbox Code Playgroud)
小智 5
resources:
Resources:
DynamoDbTable:
Type: 'AWS::DynamoDB::Table'
DeletionPolicy: Retain
Properties:
TableName: 'table'
AttributeDefinitions:
-
AttributeName: id
AttributeType: S
KeySchema:
-
AttributeName: id
KeyType: HASH
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
Tags:
-
Key: 'tagKey'
Value: 'tagValue'
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
911 次 |
最近记录: |