Class: AWS::S3::Policy::Statement

Inherits:
Core::Policy::Statement show all
Defined in:
lib/aws/s3/policy.rb

Constant Summary collapse

ACTION_MAPPING =
{
  :list_buckets => "s3:ListAllMyBuckets",
  :create_bucket => "s3:CreateBucket",
  :delete_bucket => "s3:DeleteBucket",
  :list_objects => "s3:ListBucket",
  :list_object_versions => "s3:ListBucketVersions",
  :list_multipart_uploads => "s3:ListBucketMultipartUploads",
  :get_object => "s3:GetObject",
  :get_object_version => "s3:GetObjectVersion",
  :put_object => "s3:PutObject",
  :get_object_acl => "s3:GetObjectAcl",
  :get_object_version_acl => "s3:GetObjectVersionAcl",
  :set_object_acl => "s3:PutObjectAcl",
  :set_object_acl_version => "s3:PutObjectAclVersion",
  :delete_object => "s3:DeleteObject",
  :delete_object_version => "s3:DeleteObjectVersion",
  :list_multipart_upload_parts => "s3:ListMultipartUploadParts",
  :abort_multipart_upload => "s3:AbortMultipartUpload",
  :get_bucket_acl => "s3:GetBucketAcl",
  :set_bucket_acl => "s3:PutBucketAcl",
  :get_bucket_versioning => "s3:GetBucketVersioning",
  :set_bucket_versioning => "s3:PutBucketVersioning",
  :get_bucket_requester_pays => "s3:GetBucketRequesterPays",
  :set_bucket_requester_pays => "s3:PutBucketRequesterPays",
  :get_bucket_location => "s3:GetBucketLocation",
  :get_bucket_policy => "s3:GetBucketPolicy",
  :set_bucket_policy => "s3:PutBucketPolicy",
  :get_bucket_notification => "s3:GetBucketNotification",
  :set_bucket_notification => "s3:PutBucketNotification"
}

Instance Attribute Summary

Attributes inherited from Core::Policy::Statement

#actions, #conditions, #effect, #excluded_actions, #principals, #resources, #sid

Method Summary

Methods inherited from Core::Policy::Statement

#exclude_actions, #include_actions, #initialize

Constructor Details

This class inherits a constructor from AWS::Core::Policy::Statement