https://github.com/litee/aws-constants
Collection of AWS constants
https://github.com/litee/aws-constants
Last synced: about 1 year ago
JSON representation
Collection of AWS constants
- Host: GitHub
- URL: https://github.com/litee/aws-constants
- Owner: Litee
- License: mit
- Created: 2021-01-24T19:20:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-19T14:34:22.000Z (about 5 years ago)
- Last Synced: 2025-03-12T22:07:33.315Z (about 1 year ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-constants
A collection of AWS constants - names of regions, CloudWatch namespaces and so on. TypeScript definitions included.
WARNING: This is an experimental project. I will try to keep it backward compatible, but cannot guarantee it until I decide to release version 1.0.0.
## How to install?
`npm install aws-constants`
## Service Constants
| Service | Metric Names | Dimension Names | IAM Actions | Resource ARN Constructors
|-|-|-|-|-
| AWS API Gateway | `AwsApiGatewayManagedMetricNames` | `AwsApiGatewayManagedMetricDimensionNames` | `AwsApiGatewayIamPolicyActions` | `createAwsApiGatewayExecuteApiGeneralArn`
| AWS DynamoDB | `AwsDynamoDbManagedMetricNames` | `AwsDynamoDbManagedMetricDimensionNames` | `AwsDynamoDbIamPolicyActions` | `createAwsDynamoDbTableArn`, `createAwsDynamoDbIndexArn`, `createAwsDynamoDbStreamArn`, `createAwsDynamoDbBackupArn`, `createAwsDynamoDbExportArn`, `createAwsDynamoDbGlobalTableArn`
| AWS EC2 | `AwsEc2ManagedMetricNames` | `AwsEc2ManagedMetricDimensionNames` | `AwsEc2IamPolicyActions` | TODO
| AWS Lambda | `AwsLambdaManagedMetricNames` | `AwsLambdaManagedDimensionNames` | `AwsLambdaIamPolicyActions` | TODO
| AWS Step Functions | `AwsStepFunctionsManagedMetricNames` | `AwsStepFunctionsManagedMetricDimensionNames` | `AwsStepFunctionsIamPolicyActions` | `createAwsStepFunctionsActivityArn`, `createAwsStepFunctionsStateMachineArn`, `createAwsStepFunctionsExecutionArn`
## Other Constants
* AWS regions: `Regions`
* AWS CloudWatch: `MetricNamespacesWithDescriptions` and `MetricNamespaces`
* AWS IAM: `AwsServicePrincipals`