Sha256: 08d0ddd1d2735e3c4186af63c020c647c8da7ba95083423f015508d65ede2ef8
Contents?: true
Size: 921 Bytes
Versions: 3
Compression:
Stored size: 921 Bytes
Contents
resource 'BucketPolicy', :Type => 'AWS::S3::BucketPolicy', :Properties => { :PolicyDocument => { :Version => '2008-10-17', :Id => 'WritePolicy', :Statement => [ { :Sid => 'WriteAccess', :Action => [ 's3:PutObject' ], :Effect => 'Allow', :Resource => { :'Fn::Join' => [ '', [ 'arn:aws:s3:::', { :Ref => 'PrivateKeyBucket' }, '/*', ], ], }, :Principal => { :AWS => { :'Fn::GetAtt' => [ 'ChefServerUser', 'Arn' ] }, }, }, ], }, :Bucket => { :Ref => 'PrivateKeyBucket' }, }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aws-cfn-dsl-0.5.0 | test/Resources/BucketPolicy.rb |
aws-cfn-dsl-0.2.0 | test/Resources/BucketPolicy.rb |
aws-cfn-dsl-0.1.0 | test/Resources/BucketPolicy.rb |