AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

InstanceIdentity

import "github.com/aws/aws-sdk-go/service/datapipeline"

type InstanceIdentity struct { Document *string `locationName:"document" type:"string"` Signature *string `locationName:"signature" type:"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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html) 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.

Document

Type: *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.

Signature

Type: *string

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

Method

GoString

func (s InstanceIdentity) GoString() string

GoString returns the string representation

SetDocument

func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity

SetDocument sets the Document field's value.

SetSignature

func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity

SetSignature sets the Signature field's value.

String

func (s InstanceIdentity) String() string

String returns the string representation

On this page: