- Navigation Guide
@aws-sdk/client-ec2
ModifyInstanceMetadataOptionsCommandInput Interface
Members
Name | Type | Details |
---|---|---|
InstanceId Required | string | undefined | The ID of the instance. |
DryRun | boolean | undefined | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is |
HttpEndpoint | InstanceMetadataEndpointState | undefined | Enables or disables the HTTP metadata endpoint on your instances. If this parameter is not specified, the existing state is maintained. If you specify a value of |
HttpProtocolIpv6 | InstanceMetadataProtocolState | undefined | Enables or disables the IPv6 endpoint for the instance metadata service. Applies only if you enabled the HTTP metadata endpoint. |
HttpPutResponseHopLimit | number | undefined | The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained. Possible values: Integers from 1 to 64 |
HttpTokens | HttpTokensState | undefined | Indicates whether IMDSv2 is required.
Default:
The default value can also be affected by other combinations of parameters. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide. |
InstanceMetadataTags | InstanceMetadataTagsState | undefined | Set to |
Full Signature
export interface ModifyInstanceMetadataOptionsCommandInput extends ModifyInstanceMetadataOptionsRequest