chatops-lex-bot/devops.yml [306:337]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CodePipelineExecutionRole:
        Type: AWS::IAM::Role
        Properties:
            RoleName: !Sub '${ProjectName}-CodePipelineExecutionRole'
            AssumeRolePolicyDocument:
                Version: '2012-10-17'
                Statement:
                  - 
                    Action: 
                        - 'sts:AssumeRole'
                    Effect: Allow
                    Principal:
                      Service: 
                        - codepipeline.amazonaws.com
            Path: /
            Policies:
                - PolicyName: CodePipelineAccess
                  PolicyDocument:
                    Version: '2012-10-17'
                    Statement:
                        - 
                            Effect: Allow
                            Action:
                                - 'iam:PassRole'
                            Resource: !GetAtt CloudFormationExecutionRole.Arn
                - PolicyName: CodePipelineCodeAndArtifactsS3Bucket
                  PolicyDocument:
                    Version: '2012-10-17'
                    Statement:
                      - 
                        Effect: Allow
                        Action: 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



devops.yml [486:517]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CodePipelineExecutionRole:
        Type: AWS::IAM::Role
        Properties:
            RoleName: !Sub '${ProjectName}-CodePipelineExecutionRole'        
            AssumeRolePolicyDocument:
                Version: '2012-10-17'
                Statement:
                  - 
                    Action: 
                        - 'sts:AssumeRole'
                    Effect: Allow
                    Principal:
                      Service: 
                        - codepipeline.amazonaws.com
            Path: /
            Policies:
                - PolicyName: CodePipelineAccess
                  PolicyDocument:
                    Version: '2012-10-17'
                    Statement:
                        - 
                            Effect: Allow
                            Action:
                                - 'iam:PassRole'
                            Resource: !GetAtt CloudFormationExecutionRole.Arn
                - PolicyName: CodePipelineCodeAndArtifactsS3Bucket
                  PolicyDocument:
                    Version: '2012-10-17'
                    Statement:
                      - 
                        Effect: Allow
                        Action: 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



