Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageBucket.GetPolicy

TElAWSS3DataStorageBucket     See also     


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


Retrieves bucket policy.

Declaration

[C#]
    string GetPolicy();

[VB.NET]
    Function GetPolicy() As String

[Pascal]
    function GetPolicy : string;

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

[PHP]
    string GetPolicy()

[Java]
    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