packer-cn/website/content/partials/builder/amazon/common/MetadataOptions-not-required.mdx

11 lines
637 B
Plaintext
Raw Permalink Normal View History

<!-- Code generated from the comments of the MetadataOptions struct in builder/amazon/common/run_config.go; DO NOT EDIT MANUALLY -->
- `http_endpoint` (string) - A string to enable or disble the IMDS endpoint for an instance. Defaults to enabled.
Accepts either "enabled" or "disabled"
- `http_tokens` (string) - A string to either set the use of IMDSv2 for the instance to optional or required. Defaults to "optional".
Accepts either "optional" or "required"
- `http_put_response_hop_limit` (int64) - A numerical value to set an upper limit for the amount of hops allowed when communicating with IMDS endpoints.
Defaults to 1.