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

Class: Aws::DataPipeline::Types::InstanceIdentity

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

Overview

Note:

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

{
  document: "string",
  signature: "string",
}

Identity information for the EC2 instance that is hosting the task runner. You can get this value by calling a metadata URI from the EC2 instance. For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.

Instance Attribute Summary collapse

Instance Attribute Details

#documentString

A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.

Returns:

  • (String)


494
495
496
497
498
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 494

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

#signatureString

A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.

Returns:

  • (String)


494
495
496
497
498
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 494

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