Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageBucket.SetPolicy

TElAWSS3DataStorageBucket     See also     


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


Sets bucket policy.

Declaration

[C#]
    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)

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