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

Class: Aws::OpsWorks::Types::InstanceIdentity

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

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

{
  document: "String",
  signature: "String",
}

Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata service. For more information, see Instance Metadata and User Data.

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

A JSON document that contains the metadata.

Returns:

  • (String)


4161
4162
4163
4164
4165
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4161

class InstanceIdentity < Struct.new(
  :document,
  :signature)
  include Aws::Structure
end

#signatureString

A signature that can be used to verify the document's accuracy and authenticity.

Returns:

  • (String)


4161
4162
4163
4164
4165
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4161

class InstanceIdentity < Struct.new(
  :document,
  :signature)
  include Aws::Structure
end