Sha256: 5edcf00f931922eb38b9cfff80ba1e935429feefb6adcbcf9207163342116862
Contents?: true
Size: 1.76 KB
Versions: 62
Compression:
Stored size: 1.76 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' } } }
Version data entries
62 entries across 62 versions & 1 rubygems