UNPKG

@cloud-carbon-footprint/aws

Version:

The core logic to get cloud usage data and estimate energy and carbon emissions from Amazon Web Services.

36 lines (35 loc) 1.23 kB
import { mappedRegionsToElectricityMapZones } from '@cloud-carbon-footprint/common'; export declare enum AWS_REGIONS { US_EAST_1 = "us-east-1", US_EAST_2 = "us-east-2", US_WEST_1 = "us-west-1", US_WEST_2 = "us-west-2", AF_SOUTH_1 = "af-south-1", AP_EAST_1 = "ap-east-1", AP_SOUTH_1 = "ap-south-1", AP_NORTHEAST_3 = "ap-northeast-3", AP_NORTHEAST_2 = "ap-northeast-2", AP_SOUTHEAST_1 = "ap-southeast-1", AP_SOUTHEAST_2 = "ap-southeast-2", AP_NORTHEAST_1 = "ap-northeast-1", AP_SOUTHEAST_3 = "ap-southeast-3", CA_CENTRAL_1 = "ca-central-1", CN_NORTH_1 = "cn-north-1", CN_NORTHWEST_1 = "cn-northwest-1", EU_CENTRAL_1 = "eu-central-1", EU_WEST_1 = "eu-west-1", EU_WEST_2 = "eu-west-2", EU_SOUTH_1 = "eu-south-1", EU_WEST_3 = "eu-west-3", EU_NORTH_1 = "eu-north-1", ME_SOUTH_1 = "me-south-1", ME_CENTRAL_1 = "me-central-1", SA_EAST_1 = "sa-east-1", US_GOV_EAST_1 = "us-gov-east-1", US_GOV_WEST_1 = "us-gov-west-1", UNKNOWN = "Unknown" } export declare const AWS_MAPPED_REGION_NAMES_TO_CODES: { [key: string]: string; }; export declare const AWS_MAPPED_REGIONS_TO_ELECTRICITY_MAPS_ZONES: mappedRegionsToElectricityMapZones;