You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::S3Storage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3Storage as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_access_key_id: "String",
  bucket: "String",
  prefix: "String",
  upload_policy: "data",
  upload_policy_signature: "String",
}

Describes the storage parameters for S3 and S3 buckets for an instance store-backed AMI.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#aws_access_key_idString

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.

Returns:

  • (String)

    The access key ID of the owner of the bucket.

#bucketString

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.

Returns:

  • (String)

    The bucket in which to store the AMI.

#prefixString

The beginning of the file name of the AMI.

Returns:

  • (String)

    The beginning of the file name of the AMI.

#upload_policyString

An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.

Returns:

  • (String)

    An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.

#upload_policy_signatureString

The signature of the JSON document.

Returns:

  • (String)

    The signature of the JSON document.