comparison docs/introduction.rst @ 282:da1596034954

Implemented an "AWS" namespace to retrieve some AWS-specific metadata
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 07 Dec 2020 01:06:33 +0100
parents af371f9c016d
children 28aa21095a68
comparison
equal deleted inserted replaced
281:2ea0aa9fb402 282:da1596034954
291 Just the major version of the running Python 291 Just the major version of the running Python
292 292
293 ``implementation`` 293 ``implementation``
294 The return value of :py:func:`platform.python_implementation` 294 The return value of :py:func:`platform.python_implementation`
295 295
296 5. The namespace ``AWS``
297
298 Contains some metadata for AWS instances when running from within
299 AWS:
300
301 ``metadata.instance-id``
302
303 ``metadata.placement.region``
304
305 ``metadata.placement.availability-zone``
306
307 ``dynamic.instance-identity.region``
308 and all other properties of the instance-identity document
309 (e.g. ``instanceId``, ``instanceType``, ``imageId``, ``pendingTime``,
310 ``architecture``, ``availabilityZone``, ``privateIp``, ``version``
311 et al.).
312
296 313
297 Examples 314 Examples
298 ~~~~~~~~ 315 ~~~~~~~~
299 316
300 :: 317 ::