@infrascan/aws-ec2-scanner
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@infrascan/aws-ec2-scanner

A scanner module for AWS EC2, designed to be used with the @infrascan/sdk.

This module pulls information about the EC2 resources in an AWS account by calling: DescribeVpcs, DescribeAvailabilityZones and DescribeSubnets.

Quickstart

import EC2Scanner from "@infrascan/aws-ec2-scanner";
import Infrascan from "@infrascan/sdk";

const infrascanClient = new Infrascan();
infrascanClient.registerScanner(EC2Scanner);

If you plan on scanning all of an AWS account, you should use the @infrascan/aws package.

Contributing

The majority of the scanner modules are autogenerated from their config.ts file.

Changes such as adding a new function/endpoint in the service to scan can be done within the config file.

More significant changes will likely need to take place in the aws-codegen package.

Package Sidebar

Install

npm i @infrascan/aws-ec2-scanner

Weekly Downloads

1

Version

0.3.0

License

MPL-2.0

Unpacked Size

27.1 kB

Total Files

18

Last publish

Collaborators

  • lfarrelly