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.UserData

Description

 
Synopsis

Documentation

data UserData Source #

Describes the user data for an instance.

See: newUserData smart constructor.

Constructors

UserData' 

Fields

  • data' :: Maybe Text

    The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

Instances

Instances details
ToQuery UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

Generic UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

Associated Types

type Rep UserData :: Type -> Type #

Methods

from :: UserData -> Rep UserData x #

to :: Rep UserData x -> UserData #

Show UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

NFData UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

Methods

rnf :: UserData -> () #

Eq UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

Hashable UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

Methods

hashWithSalt :: Int -> UserData -> Int #

hash :: UserData -> Int #

type Rep UserData Source # 
Instance details

Defined in Amazonka.EC2.Types.UserData

type Rep UserData = D1 ('MetaData "UserData" "Amazonka.EC2.Types.UserData" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "UserData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newUserData :: UserData Source #

Create a value of UserData 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:data':UserData', userData_data - The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.

userData_data :: Lens' UserData (Maybe Text) Source #

The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.