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

Class: Aws::EC2::Types::UserData

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

Overview

Note:

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

{
  data: "String",
}

Describes the user data for an instance.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The user data. If you are using an AWS 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.

Returns:

  • (String)

    The user data.