Skip to content

EC2  >  Dictionaries  >  FleetInstanceMetadataOptionsRequestDict

FleetInstanceMetadataOptionsRequestDict

Dictionary Type

FleetInstanceMetadataOptionsRequestDict

Bases: TypedDict

Dictionary form of FleetInstanceMetadataOptionsRequest.

Attributes

http_endpoint instance-attribute
http_endpoint: str | None

Enables or disables the HTTP metadata endpoint on your instances.

  • enabled - The HTTP metadata endpoint is enabled.

  • disabled - The HTTP metadata endpoint is disabled.

http_put_response_hop_limit instance-attribute
http_put_response_hop_limit: int | None

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

http_tokens instance-attribute
http_tokens: str | None

Indicates whether IMDSv2 is required.

  • optional - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.

  • required - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.