cft/comprehend-active-learning-infra.yml [227:258]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            - Effect: Allow
              Action:
                - "s3:ListBucket"
                - "s3:GetObject"
                - "s3:PutObject"
              Resource:
               - !Sub arn:aws:s3:::${AWS::StackName}-comprehend-batch-upload-bucket
               - !Sub arn:aws:s3:::${AWS::StackName}-comprehend-batch-upload-bucket/*
               - !Sub arn:aws:s3:::${AWS::StackName}-aggregated-feedback-bucket
               - !Sub arn:aws:s3:::${AWS::StackName}-aggregated-feedback-bucket/*
            - Effect: Allow
              Action:
                - "s3:ListBucket"
                - "s3:GetObject"
              Resource:
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-a2i-active-learning/'
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-a2i-active-learning/*'
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-active-learning-part2'
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-active-learning-part2/*'
            - Effect: Allow
              Action:
                - 'kinesis:*'
                - 'firehose:*'
              Resource: '*'
            - Effect: Allow
              Action:
                - 'comprehend:*'
              Resource: '*'
            - Effect: Allow
              Action:
                - 'sagemaker:*'
              Resource: '*'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cft/comprehend-active-learning-infra.yml [486:517]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            - Effect: Allow
              Action:
                - "s3:ListBucket"
                - "s3:GetObject"
                - "s3:PutObject"
              Resource:
               - !Sub arn:aws:s3:::${AWS::StackName}-comprehend-batch-upload-bucket
               - !Sub arn:aws:s3:::${AWS::StackName}-comprehend-batch-upload-bucket/*
               - !Sub arn:aws:s3:::${AWS::StackName}-aggregated-feedback-bucket
               - !Sub arn:aws:s3:::${AWS::StackName}-aggregated-feedback-bucket/*
            - Effect: Allow
              Action:
                - "s3:ListBucket"
                - "s3:GetObject"
              Resource:
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-a2i-active-learning/'
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-a2i-active-learning/*'
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-active-learning-part2'
                - 'arn:aws:s3:::aws-ml-blog/artifacts/comprehend-active-learning-part2/*'
            - Effect: Allow
              Action:
                - 'kinesis:*'
                - 'firehose:*'
              Resource: '*'
            - Effect: Allow
              Action:
                - 'comprehend:*'
              Resource: '*'
            - Effect: Allow
              Action:
                - 'sagemaker:*'
              Resource: '*'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



