init/service-catalog-lambda-functions-cfn.yml [212:296]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              -
                Effect: "Allow"
                Action:
                  - servicecatalog:ListProvisioningArtifacts
                  - servicecatalog:SearchProductsAsAdmin
                  - servicecatalog:SearchProducts
                  - logs:CreateLogGroup
                  - logs:CreateLogStream
                  - logs:PutLogEvents
                Resource: "*"

  ResourceComplianceLambdaRole:
    Type: 'AWS::IAM::Role'
    Properties:
      RoleName: !Ref ResourceComplianceLambdaRoleName
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - lambda.amazonaws.com
            Action:
              - 'sts:AssumeRole'
      Path: /
      Policies:
        -
          PolicyName: "Lambda"
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              -
                Effect: "Allow"
                Action:
                  - sqs:TagQueue
                  - kms:DescribeKey
                  - lambda:AddPermission
                  - s3:PutBucketNotification
                  - logs:CreateLogGroup
                  - logs:CreateLogStream
                  - logs:PutLogEvents
                Resource: "*"

  ResourceSelectorLambdaRole:
    Type: 'AWS::IAM::Role'
    Properties:
      RoleName: !Ref ResourceSelectorLambdaRoleName
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - lambda.amazonaws.com
            Action:
              - 'sts:AssumeRole'
      Path: /
      Policies:
        -
          PolicyName: "Lambda"
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              -
                Effect: "Allow"
                Action:
                  - ec2:DescribeSubnets
                  - ec2:DescribeVpcs
                  - ec2:DescribeSecurityGroups
                  - ec2:DescribeImages
                  - kms:ListAliases
                  - kms:ListKeys
                  - kms:DescribeKey
                  - iam:ListRoleTags
                  - iam:ListPolicies
                  - iam:ListRoles
                  - acm:ListCertificates
                  - acm:ListTagsForCertificate
                  - pricing:DescribeServices
                  - pricing:GetProducts
                  - pricing:GetAttributeValues
                  - logs:CreateLogGroup
                  - logs:CreateLogStream
                  - logs:PutLogEvents
                Resource: "*"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



s3-upload-files/products/governance-lambda-roles/sc-governance-lambda-roles.yml [54:138]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              -
                Effect: "Allow"
                Action:
                  - servicecatalog:ListProvisioningArtifacts
                  - servicecatalog:SearchProductsAsAdmin
                  - servicecatalog:SearchProducts
                  - logs:CreateLogGroup
                  - logs:CreateLogStream
                  - logs:PutLogEvents
                Resource: "*"

  ResourceComplianceLambdaRole:
    Type: 'AWS::IAM::Role'
    Properties:
      RoleName: !Ref ResourceComplianceLambdaRoleName
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - lambda.amazonaws.com
            Action:
              - 'sts:AssumeRole'
      Path: /
      Policies:
        -
          PolicyName: "Lambda"
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              -
                Effect: "Allow"
                Action:
                  - sqs:TagQueue
                  - kms:DescribeKey
                  - lambda:AddPermission
                  - s3:PutBucketNotification
                  - logs:CreateLogGroup
                  - logs:CreateLogStream
                  - logs:PutLogEvents
                Resource: "*"

  ResourceSelectorLambdaRole:
    Type: 'AWS::IAM::Role'
    Properties:
      RoleName: !Ref ResourceSelectorLambdaRoleName
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - lambda.amazonaws.com
            Action:
              - 'sts:AssumeRole'
      Path: /
      Policies:
        -
          PolicyName: "Lambda"
          PolicyDocument:
            Version: "2012-10-17"
            Statement:
              -
                Effect: "Allow"
                Action:
                  - ec2:DescribeSubnets
                  - ec2:DescribeVpcs
                  - ec2:DescribeSecurityGroups
                  - ec2:DescribeImages
                  - kms:ListAliases
                  - kms:ListKeys
                  - kms:DescribeKey
                  - iam:ListRoleTags
                  - iam:ListPolicies
                  - iam:ListRoles
                  - acm:ListCertificates
                  - acm:ListTagsForCertificate
                  - pricing:DescribeServices
                  - pricing:GetProducts
                  - pricing:GetAttributeValues
                  - logs:CreateLogGroup
                  - logs:CreateLogStream
                  - logs:PutLogEvents
                Resource: "*"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



