Last active
January 5, 2023 02:51
-
-
Save marcoETmx/a6e4edf43be820b34f9bbe8ffa89f4d0 to your computer and use it in GitHub Desktop.
Deplegando una base de datos DynamoDB en AWS con infraestructura como código
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: 2010-09-09 | |
Parameters: | |
DynamoAtributo: | |
Type: String | |
NombreDynamo: | |
Type: String | |
Resources: | |
DynamodesdeCero: | |
Type: AWS::DynamoDB::Table | |
Properties: | |
AttributeDefinitions: | |
- AttributeName: !Ref DynamoAtributo | |
AttributeType: S | |
KeySchema: | |
- AttributeName: !Ref DynamoAtributo | |
KeyType: HASH | |
BillingMode: PAY_PER_REQUEST | |
SSESpecification: | |
SSEEnabled: True | |
TableName: !Ref NombreDynamo | |
Outputs: | |
NombreDynamo: | |
Value: !Ref DynamodesdeCero | |
Export: | |
Name: NombreDynamo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment