【发布时间】:2021-01-31 05:57:30
【问题描述】:
如何使用云形成为现有 dynamodb 表启用“PointInTimeRecoverySpecification”。 我试过如下:
Resources:
mytableenablerecovery:
Properties:
AttributeDefinitions:
-
AttributeName: ArtistId
AttributeType: S
KeySchema:
-
AttributeName: ArtistId
KeyType: HASH
PointInTimeRecoverySpecification:
PointInTimeRecoveryEnabled: true
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
TableName: mytablename123
Type: "AWS::DynamoDB::Table"
但如果不存在则创建新表,否则会抛出错误“mytablename123 已存在于堆栈 arn:aws:cloudformation:us-east-”
【问题讨论】:
标签: amazon-dynamodb amazon-cloudformation