integration/resources/templates/combination/function_with_deployment_basic.yaml [17:45]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  DeploymentRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument:
        Version: '2012-10-17'
        Statement:
        - Action:
          - sts:AssumeRole
          Effect: Allow
          Principal:
            Service:
            - codedeploy.amazonaws.com

      Policies:
        -
          PolicyName: "root"
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              -
                Effect: "Allow"
                Resource: "*"
                Action:
                  - "cloudwatch:DescribeAlarms"
                  - "lambda:UpdateAlias"
                  - "lambda:GetAlias"
                  - "lambda:InvokeFunction"
                  - "s3:Get*"
                  - "sns:Publish"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



integration/resources/templates/combination/function_with_deployment_disabled.yaml [31:59]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  DeploymentRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument:
        Version: '2012-10-17'
        Statement:
        - Action:
          - sts:AssumeRole
          Effect: Allow
          Principal:
            Service:
            - codedeploy.amazonaws.com

      Policies:
        -
          PolicyName: "root"
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              -
                Effect: "Allow"
                Resource: "*"
                Action:
                  - "cloudwatch:DescribeAlarms"
                  - "lambda:UpdateAlias"
                  - "lambda:GetAlias"
                  - "lambda:InvokeFunction"
                  - "s3:Get*"
                  - "sns:Publish"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



