AWS SDK Version 3 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.

S3 Upload policy to be used by EC2 API.

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public S3UploadPolicy(
         String awsSecretAccessKey,
         String bucketName,
         String prefix,
         Int32 expireInMinutes
)
Parameters
awsSecretAccessKey
Type: System.String

Secret Key of the signer of the policy

bucketName
Type: System.String

Bucket name to upload

prefix
Type: System.String

Prefix for the object keys

expireInMinutes
Type: System.Int32

Expire, minutes from now

Version Information

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