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.

Constant Summary collapse

SENSITIVE =
[]

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)


50581
50582
50583
50584
50585
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50581

class UserData < Struct.new(
  :data)
  SENSITIVE = []
  include Aws::Structure
end