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.

Constant Summary collapse

SENSITIVE =
[]

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)


511
512
513
514
515
516
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 511

class InstanceIdentity < Struct.new(
  :document,
  :signature)
  SENSITIVE = []
  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)


511
512
513
514
515
516
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 511

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