Convenience method that returns the instance ID of this EC2 instance.
Convenience method that returns the instance ID of this EC2 instance.
the instance ID of this EC2 instance.
Retrieves the given metadata about this EC2 instance from the instance metadata server.
Retrieves the given metadata about this EC2 instance from the instance metadata server.
the metadata key
the requested metadata about this EC2 instance.
Utilities for obtaining metadata about the EC2 instance this process is running on. The methods in this object are not expected to work if the JVM is not running on an EC2 instance.
(Since version 2017/07/13) This will be removed in a future version