Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageBucket.GetPolicy

TElAWSS3DataStorageBucket     See also     


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


Retrieves bucket policy.

Declaration

[C#/Java]
    string GetPolicy();

[VB.NET]
    Function GetPolicy() As String

[Pascal]
    function GetPolicy : string;

[C++]
    void GetPolicy(std::string &OutResult);

[PHP]
    string GetPolicy()

Return value

    Returns a string representation of the bucket policy. The policy is written in JSON (JavaScript Object Notation) and uses access policy language.

Description

    Use this method to get bucket policy. Policies define access rights for Amazon S3 resources.

See also:     DeletePolicy     SetPolicy    

Discuss this help topic in SecureBlackbox Forum