InstanceMetadataOptions
class InstanceMetadataOptions
The instance metadata options that apply to the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances, or Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
Types
Properties
Link copied to clipboard
Limit the number of hops that an instance metadata request can traverse to reach its destination. The default is one hop. However, if HTTP tokens are required, container image builds need a minimum of two hops.
Link copied to clipboard
Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows: