| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SMS.Types.UserData
Description
Synopsis
- data UserData = UserData' {}
- newUserData :: UserData
- userData_s3Location :: Lens' UserData (Maybe S3Location)
Documentation
A script that runs on first launch of an Amazon EC2 instance. Used for configuring the server during launch.
See: newUserData smart constructor.
Constructors
| UserData' | |
Fields
| |
Instances
| FromJSON UserData Source # | |
| ToJSON UserData Source # | |
Defined in Amazonka.SMS.Types.UserData | |
| Generic UserData Source # | |
| Read UserData Source # | |
| Show UserData Source # | |
| NFData UserData Source # | |
Defined in Amazonka.SMS.Types.UserData | |
| Eq UserData Source # | |
| Hashable UserData Source # | |
Defined in Amazonka.SMS.Types.UserData | |
| type Rep UserData Source # | |
Defined in Amazonka.SMS.Types.UserData type Rep UserData = D1 ('MetaData "UserData" "Amazonka.SMS.Types.UserData" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "UserData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Location)))) | |
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:s3Location:UserData', userData_s3Location - Amazon S3 location of the user-data script.
userData_s3Location :: Lens' UserData (Maybe S3Location) Source #
Amazon S3 location of the user-data script.