AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Utility class for managing and exchanging HTTP POST uploads of objects to Amazon S3.

Inheritance Hierarchy

System.Object
  Amazon.S3.Util.S3PostUploadSignedPolicy

Namespace: Amazon.S3.Util
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class S3PostUploadSignedPolicy : Object

The S3PostUploadSignedPolicy type exposes the following members

Constructors

NameDescription
Public Method S3PostUploadSignedPolicy()

Properties

NameTypeDescription
Public Property AccessKeyId System.String The AWS Access Key Id for the credential pair that produced the signature.
Public Property Policy System.String The policy document which governs what uploads can be done.
Public Property SecurityToken System.String The security token from session or instance credentials.
Public Property Signature System.String The signature for the policy.

Methods

NameDescription
Public Method GetReadablePolicy() Get the policy document as a human readable string.
Public Method Static Method GetSignedPolicy(string, AWSCredentials) Given a policy and AWS credentials, produce a S3PostUploadSignedPolicy.
Public Method Static Method GetSignedPolicyFromJson(string) Create an instance of this class from a JSON string.
Public Method Static Method GetSignedPolicyFromXml(string) Create an instance of this class from an XML string.
Public Method ToJson() JSON representation of this object
Public Method ToXml() XML Representation of this object

Remarks

This object supports creating, marshalling, and unmarshalling of the information needed to build an authenticated HTTP POST request to S3 for uploading objects according to a policy.

For more information, http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingHTTPPOST.html

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5