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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


29053
29054
29055
29056
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 29053

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