Skip to content

Instantly share code, notes, and snippets.

@SumindaD
Created April 21, 2020 11:47
Show Gist options
  • Save SumindaD/270324f5013a254b2ae1bd1eb277d676 to your computer and use it in GitHub Desktop.
Save SumindaD/270324f5013a254b2ae1bd1eb277d676 to your computer and use it in GitHub Desktop.
cognitoIDTokenBlackListTableName: CognitoIDTokenBlackList-#{AWS::AccountId}-${self:custom.currentStage}
cognitoIDTokenBlackListTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: ${self:custom.cognitoIDTokenBlackListTableName}
AttributeDefinitions:
- AttributeName: CognitoTokenID
AttributeType: S
KeySchema:
- AttributeName: CognitoTokenID
KeyType: HASH
BillingMode: PAY_PER_REQUEST
SSESpecification:
SSEEnabled: true
TimeToLiveSpecification:
AttributeName: ttl
Enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment