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 4.5
Describes the storage parameters for S3 and S3 buckets for an instance store-backed AMI.

Inheritance Hierarchy


Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class S3Storage : Object

The S3Storage type exposes the following members


Public Method S3Storage()


Public Property AWSAccessKeyId System.String Gets and sets the property AWSAccessKeyId.

The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Managing AWS Access Keys.

Public Property Bucket System.String Gets and sets the property Bucket.

The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

Public Property Prefix System.String Gets and sets the property Prefix.

The beginning of the file name of the AMI.

Public Property UploadPolicy System.String Gets and sets the property UploadPolicy.

A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.

Public Property UploadPolicySignature System.String Gets and sets the property UploadPolicySignature.

The signature of the Base64 encoded JSON document.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8