Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageBucket.SetPolicy

TElAWSS3DataStorageBucket     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Sets bucket policy.

Declaration

[C#/Java]
    void SetPolicy(string Policy);

[VB.NET]
    Sub SetPolicy(ByVal Policy As String)

[Pascal]
    procedure SetPolicy(const Policy : string);

[C++]
    void SetPolicy(const std::string &Policy);

[PHP]
    void SetPolicy(string $Policy)

Parameters

  • Policy - specifies new bucket policy.

Description

    Use this method to set bucket policy. Policies define access rights for Amazon S3 resources. The policy is written in JSON (JavaScript Object Notation) and uses access policy language.

See also:     DeletePolicy     GetPolicy    

Discuss this help topic in SecureBlackbox Forum