1-IAMandS3/MediaConvertIAMandS3.yaml [84:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    DeletionPolicy: Retain
    Type: "AWS::S3::Bucket"

  MediaBucketPolicy:
    Properties:
      Bucket: !Ref MediaBucket
      PolicyDocument:
        Version: 2012-10-17
        Statement:
          -
            Effect: Allow
            Principal: "*"
            Action: s3:GetObject
            Resource: !Sub "arn:aws:s3:::${MediaBucket}/*"
    Type: "AWS::S3::BucketPolicy"

Outputs:
  MediaBucket:
    Value: !Ref MediaBucket 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



2-MediaConvertJobs/MediaConvertJobs.yaml [41:59]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    DeletionPolicy: Retain
    Type: "AWS::S3::Bucket"

  MediaBucketPolicy:
    Properties:
      Bucket: !Ref MediaBucket
      PolicyDocument:
        Version: 2012-10-17
        Statement:
          -
            Effect: Allow
            Principal: "*"
            Action: s3:GetObject
            Resource: !Sub "arn:aws:s3:::${MediaBucket}/*"
    Type: "AWS::S3::BucketPolicy"

Outputs:
  MediaBucket:
    Value: !Ref MediaBucket 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



