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

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

Overview

Note:

When making an API call, you may pass UserData data as a hash:

{
  data: "String",
}

Describes the user data for an instance.

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)


36852
36853
36854
36855
# File 'lib/aws-sdk-ec2/types.rb', line 36852

class UserData < Struct.new(
  :data)
  include Aws::Structure
end