Skip to content

Instantly share code, notes, and snippets.

@mikebroberts
Created March 11, 2020 23:24
Show Gist options
  • Select an option

  • Save mikebroberts/e248d657f44655514d3e87f20409bea8 to your computer and use it in GitHub Desktop.

Select an option

Save mikebroberts/e248d657f44655514d3e87f20409bea8 to your computer and use it in GitHub Desktop.

Revisions

  1. mikebroberts created this gist Mar 11, 2020.
    22 changes: 22 additions & 0 deletions AWSChatbotRole.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    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*'