Sha256: 1acc99eb994a127a5438f61f9b1b5a323f45ea85529edbd2a6fdb0684f5c4add
Contents?: true
Size: 1.88 KB
Versions: 26
Compression:
Stored size: 1.88 KB
Contents
Aws.config[:s3] = { stub_responses: { list_buckets: { buckets: [ { name: 'my-bucket' } ] }, head_object: { content_type: 'binary/octet-stream' }, get_bucket_acl: { owner: { display_name: 'my-bucket-owner' }, grants: [ { grantee: { display_name: 'my-bucket-owner', type: 'CanonicalUser' }, permission: 'FULL_CONTROL' }, { grantee: { uri: 'http://acs.amazonaws.com/groups/s3/LogDelivery', type: 'CanonicalUser' }, permission: 'WRITE' }, { grantee: { id: '68f4bb06b094152df53893bfba57760e', type: 'CanonicalUser' }, permission: 'READ' } ] }, get_bucket_cors: { cors_rules: [ { allowed_methods: ['GET'], allowed_origins: ['*'] }, { allowed_headers: ['*'], allowed_methods: ['GET'], allowed_origins: ['https://example.com', 'https://example.org'], expose_headers: ['X-Custom-Header'], max_age_seconds: 3600 } ] }, get_bucket_policy: { policy: '{"Version":"2012-10-17","Statement":[{"Sid":"","Effect":"Allow","Principal":' \ '{"AWS":"arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity XXXXX"},' \ '"Action":"s3:*","Resource":["arn:aws:s3:::my-bucket","arn:aws:s3:::my-bucket/*"]}]}' }, get_bucket_logging: { logging_enabled: { target_bucket: 'my-log-bucket', target_prefix: 'logs/' } }, get_bucket_versioning: { status: 'Enabled', mfa_delete: 'Enabled' }, get_bucket_tagging: { tag_set: [ { key: 'env', value: 'dev' } ] } } }
Version data entries
26 entries across 26 versions & 2 rubygems