Skip to content

Instantly share code, notes, and snippets.

@mikebroberts
Created March 11, 2020 23:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebroberts/e248d657f44655514d3e87f20409bea8 to your computer and use it in GitHub Desktop.
Save mikebroberts/e248d657f44655514d3e87f20409bea8 to your computer and use it in GitHub Desktop.
AWSChatbotRole:
Type: AWS::IAM::Role
Properties:
RoleName: AWSChatbotRole
AssumeRolePolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
Service: 'chatbot.amazonaws.com'
Action: 'sts:AssumeRole'
Policies:
- PolicyName: AWSChatbotPolicy
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Resource: '*'
Action:
- 'cloudwatch:Describe*'
- 'cloudwatch:Get*'
- 'cloudwatch:List*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment