Options
All
  • Public
  • Public/Protected
  • All
Menu

@plato/aws-meta

@plato/aws-meta

Introspects AWS EC2 and ECS metadata from running containers.

Usage

import { getInstanceIPV4 } from "@plato/aws-meta";

try {
const ip = await getInstanceIPV4();
// Do something with "ip"
} catch (e) {
// Failed to get local IP
}

Generated using TypeDoc