tessl install tessl/pypi-aws-lambda-powertools@3.19.0Comprehensive developer toolkit implementing serverless best practices for AWS Lambda functions in Python
Agent Success
Agent success rate when using this tile
89%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.22x
Baseline
Agent success rate without this tile
73%
{
"context": "This criteria evaluates the engineer's ability to use AWS Lambda Powertools Parameters utility to retrieve configuration from multiple AWS parameter stores. The focus is on proper usage of the Parameters providers (SSM, Secrets Manager, DynamoDB), enabling caching, applying transformations, and handling errors gracefully.",
"type": "weighted_checklist",
"checklist": [
{
"name": "SSM Provider Usage",
"description": "Uses SSMProvider class to retrieve parameters from AWS Systems Manager Parameter Store. Should instantiate the provider correctly and use appropriate methods like get() for single retrieval.",
"max_score": 20
},
{
"name": "Secrets Manager Provider",
"description": "Uses SecretsProvider class to retrieve secrets from AWS Secrets Manager. Should instantiate and use the provider with appropriate methods.",
"max_score": 20
},
{
"name": "DynamoDB Provider Usage",
"description": "Uses DynamoDBProvider class to retrieve parameters from DynamoDB. Should configure the provider with table name and use appropriate retrieval methods.",
"max_score": 15
},
{
"name": "Batch Retrieval",
"description": "Uses get_multiple() method or equivalent batch retrieval functionality to retrieve multiple parameters in a single operation, demonstrating understanding of efficient parameter retrieval.",
"max_score": 15
},
{
"name": "JSON Transformation",
"description": "Applies transform parameter with 'json' value or uses auto transformation to automatically parse JSON-formatted parameter values. Should return parsed dictionary objects rather than strings.",
"max_score": 10
},
{
"name": "Caching Configuration",
"description": "Configures caching using max_age parameter or similar mechanism to enable parameter caching and reduce API calls. Should set an appropriate TTL value.",
"max_score": 10
},
{
"name": "Error Handling",
"description": "Implements graceful error handling for missing parameters using try-except blocks or the raise_on_error=False parameter with appropriate default value fallback logic.",
"max_score": 10
}
]
}