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.
The metadata options for the instances. For more information, see Configure the instance metadata options in the Amazon EC2 Auto Scaling User Guide.
Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z
public class InstanceMetadataOptions
The InstanceMetadataOptions type exposes the following members
Name | Description | |
---|---|---|
InstanceMetadataOptions() |
Name | Type | Description | |
---|---|---|---|
HttpEndpoint | Amazon.AutoScaling.InstanceMetadataEndpointState |
Gets and sets the property HttpEndpoint.
This parameter enables or disables the HTTP metadata endpoint on your instances. If
the parameter is not specified, the default state is
If you specify a value of |
|
HttpPutResponseHopLimit | System.Int32 |
Gets and sets the property HttpPutResponseHopLimit. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Default: 1 |
|
HttpTokens | Amazon.AutoScaling.InstanceMetadataHttpTokensState |
Gets and sets the property HttpTokens.
The state of token usage for your instance metadata requests. If the parameter is
not specified in the request, the default state is
If the state is
If the state is |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5