amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.S3Storage

Description

 
Synopsis

Documentation

data S3Storage Source #

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

See: newS3Storage smart constructor.

Constructors

S3Storage' 

Fields

Instances

Instances details
ToQuery S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

FromXML S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

Generic S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

Associated Types

type Rep S3Storage :: Type -> Type #

Read S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

Show S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

NFData S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

Methods

rnf :: S3Storage -> () #

Eq S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

Hashable S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

type Rep S3Storage Source # 
Instance details

Defined in Amazonka.EC2.Types.S3Storage

type Rep S3Storage = D1 ('MetaData "S3Storage" "Amazonka.EC2.Types.S3Storage" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "S3Storage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aWSAccessKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "uploadPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "uploadPolicySignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newS3Storage :: S3Storage Source #

Create a value of S3Storage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:aWSAccessKeyId:S3Storage', s3Storage_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 Amazon Web Services access keys.

$sel:bucket:S3Storage', s3Storage_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.

$sel:prefix:S3Storage', s3Storage_prefix - The beginning of the file name of the AMI.

$sel:uploadPolicy:S3Storage', s3Storage_uploadPolicy - An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:uploadPolicySignature:S3Storage', s3Storage_uploadPolicySignature - The signature of the JSON document.

s3Storage_aWSAccessKeyId :: Lens' S3Storage (Maybe Text) Source #

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 Amazon Web Services access keys.

s3Storage_bucket :: Lens' S3Storage (Maybe Text) Source #

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.

s3Storage_prefix :: Lens' S3Storage (Maybe Text) Source #

The beginning of the file name of the AMI.

s3Storage_uploadPolicy :: Lens' S3Storage (Maybe ByteString) Source #

An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

s3Storage_uploadPolicySignature :: Lens' S3Storage (Maybe Text) Source #

The signature of the JSON document.