The AWS Solutions Constructs Library is an open-source extension of the AWS Cloud Development Kit (AWS CDK) that provides multi-service, well-architected patterns for quickly defining solutions
This AWS Solutions Construct implements an Inline AWS Lambda function and custom resource to invoke an API endpoint and post user provided metrics data
User provided props for the construct:
URL for API endpoint
Metrics data as ResourceProperties JSON blob
Optional flag to append UUID as unique identifier for every request (default: true)
Optional lambda.Function an existing instances of Lambda Function (default: None)
Optional lambda.FunctionProps to deploy new Lambda Function (default: Default props are used)
Default settings
Out of the box implementation of the Construct without any override will set the following defaults:
AWS Lambda Function
Configure least privilege access IAM role for Lambda function
Enable reusing connections with Keep-Alive for NodeJs Lambda function
AWS CloudFormation CustomResources
Generate the unique identifier (UUID) per request
Post the user provided ResourceProperties (metrics data) + UUID to the API endpoint
Add your +1 👍 to help us prioritize
Overview:
This AWS Solutions Construct implements an Inline AWS Lambda function and custom resource to invoke an API endpoint and post user provided metrics data
User provided props for the construct:
ResourceProperties
JSON blobUUID
as unique identifier for every request (default: true)lambda.Function
an existing instances of Lambda Function (default: None)lambda.FunctionProps
to deploy new Lambda Function (default: Default props are used)Default settings
Out of the box implementation of the Construct without any override will set the following defaults:
AWS Lambda Function
AWS CloudFormation CustomResources
ResourceProperties
(metrics data) + UUID to the API endpoint