serverless-aws

0.0.0 • Public • Published

to allow updates to DDB: (update stack-name as needed)

aws cloudformation set-stack-policy --stack-name STACK_NAME --stack-policy-body '{"Statement":[{"Effect":"Allow","Principal":"","Action":["Update:"],"Resource":""},{"Effect":"Allow","Principal":"","Resource":"*","Condition":{"StringEquals":{"ResourceType":["AWS::DynamoDB::Table"]}},"Action":["Update:Replace"]}]}'

To disable updates to DDB:

aws cloudformation set-stack-policy --stack-name STACK_NAME --stack-policy-body '{"Statement":[{"Effect":"Allow","Principal":"","Action":["Update:"],"Resource":""},{"Effect":"Deny","Principal":"","Resource":"*","Condition":{"StringEquals":{"ResourceType":["AWS::DynamoDB::Table"]}},"Action":["Update:Replace"]}]}'

Readme

Keywords

none

Package Sidebar

Install

npm i serverless-aws

Weekly Downloads

2

Version

0.0.0

License

UNLICENSED

Unpacked Size

2.96 MB

Total Files

230

Last publish

Collaborators

  • danemauland