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.

EC2InstanceIdentityDocument

import "github.com/aws/aws-sdk-go/aws/ec2metadata"

type EC2InstanceIdentityDocument struct { DevpayProductCodes []string `json:"devpayProductCodes"` AvailabilityZone string `json:"availabilityZone"` PrivateIP string `json:"privateIp"` Version string `json:"version"` Region string `json:"region"` InstanceID string `json:"instanceId"` BillingProducts []string `json:"billingProducts"` InstanceType string `json:"instanceType"` AccountID string `json:"accountId"` PendingTime time.Time `json:"pendingTime"` ImageID string `json:"imageId"` KernelID string `json:"kernelId"` RamdiskID string `json:"ramdiskId"` Architecture string `json:"architecture"` }

An EC2InstanceIdentityDocument provides the shape for unmarshaling an instance identity document

DevpayProductCodes

Type: []string

AvailabilityZone

Type: string

PrivateIP

Type: string

Version

Type: string

Region

Type: string

InstanceID

Type: string

BillingProducts

Type: []string

InstanceType

Type: string

AccountID

Type: string

PendingTime

Type: time.Time

ImageID

Type: string

KernelID

Type: string

RamdiskID

Type: string

Architecture

Type: string

On this page: