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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

A JSON document that contains the metadata.

Returns:

  • (String)


4303
4304
4305
4306
4307
4308
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4303

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

#signatureString

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

Returns:

  • (String)


4303
4304
4305
4306
4307
4308
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 4303

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