You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::S3::Types::GetBucketPolicyOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#policyString

The bucket policy as a JSON document.

Returns:

  • (String)


2549
2550
2551
2552
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2549

class GetBucketPolicyOutput < Struct.new(
  :policy)
  include Aws::Structure
end