AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InstanceIdentity as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

    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.

#signatureString

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

Returns:

  • (String)

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