aws ec2 get-instance-metadata-defaults
Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services Region. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.