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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:upload_policy_signature]

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 Amazon Web Services accounts in the Account ManagementReference Guide.

Returns:

  • (String)


59434
59435
59436
59437
59438
59439
59440
59441
59442
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59434

class S3Storage < Struct.new(
  :aws_access_key_id,
  :bucket,
  :prefix,
  :upload_policy,
  :upload_policy_signature)
  SENSITIVE = [:upload_policy_signature]
  include Aws::Structure
end

#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)


59434
59435
59436
59437
59438
59439
59440
59441
59442
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59434

class S3Storage < Struct.new(
  :aws_access_key_id,
  :bucket,
  :prefix,
  :upload_policy,
  :upload_policy_signature)
  SENSITIVE = [:upload_policy_signature]
  include Aws::Structure
end

#prefixString

The beginning of the file name of the AMI.

Returns:

  • (String)


59434
59435
59436
59437
59438
59439
59440
59441
59442
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59434

class S3Storage < Struct.new(
  :aws_access_key_id,
  :bucket,
  :prefix,
  :upload_policy,
  :upload_policy_signature)
  SENSITIVE = [:upload_policy_signature]
  include Aws::Structure
end

#upload_policyString

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

Returns:

  • (String)


59434
59435
59436
59437
59438
59439
59440
59441
59442
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59434

class S3Storage < Struct.new(
  :aws_access_key_id,
  :bucket,
  :prefix,
  :upload_policy,
  :upload_policy_signature)
  SENSITIVE = [:upload_policy_signature]
  include Aws::Structure
end

#upload_policy_signatureString

The signature of the JSON document.

Returns:

  • (String)


59434
59435
59436
59437
59438
59439
59440
59441
59442
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 59434

class S3Storage < Struct.new(
  :aws_access_key_id,
  :bucket,
  :prefix,
  :upload_policy,
  :upload_policy_signature)
  SENSITIVE = [:upload_policy_signature]
  include Aws::Structure
end