CmdID

CmdID / aws / aws ec2

aws ec2 modify-instance-metadata-defaults

Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services Region. AWS CLI reference

6 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

6 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.
--http-endpointEnables or disables the IMDS endpoint on an instance.
--http-put-response-hop-limitThe maximum number of hops that the metadata token can travel.
--http-tokens-enforcedSpecifies whether to enforce the requirement of IMDSv2 on an instance at the time of launch.
--http-tokensIndicates whether IMDSv2 is required.
--instance-metadata-tagsEnables or disables access to an instance's tags from the instance metadata.