validate_sagemaker_resource
Validate SageMaker resources against all six Well-Architected pillars to uncover security, reliability, performance, cost, and sustainability issues with recommended actions.
Instructions
Validate a SageMaker resource against all Well-Architected Framework pillars.
Checks security, reliability, performance efficiency, cost optimization,
operational excellence, and sustainability best practices for the specified resource.
## Supported Resource Types
- **endpoint**: SageMaker real-time inference endpoints
- **training_job**: SageMaker training jobs
- **notebook_instance**: SageMaker notebook instances
- **model**: SageMaker models
## Checks Performed
- **Security**: KMS encryption, VPC isolation, network isolation, inter-container encryption
- **Reliability**: Multi-instance endpoints, training timeouts, checkpointing, retry strategies
- **Performance**: Instance generation, data capture, data distribution, instance sizing
- **Cost**: Cost tags, spot training, serverless inference, lifecycle configs
- **Operational Excellence**: Operational tags, auto-scaling, experiment tracking
- **Sustainability**: Graviton instances, spot utilization, right-sizing
## Fallback Options
- If this tool fails, use AWS CLI: `aws sagemaker describe-endpoint --endpoint-name <name>`
- Or use the AWS SageMaker Console to review resource configurations
Args:
ctx: MCP context
resource_type: Type of SageMaker resource
resource_name: Name of the resource to validate
region_name: AWS region name (default: us-east-1)
profile_name: AWS profile name (optional)
Returns:
ValidateResourceResponse with findings and summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_name | No | AWS region name. Default is us-east-1. | us-east-1 |
| profile_name | No | AWS profile name. If not provided, uses the default profile. | |
| resource_name | Yes | Name of the SageMaker resource to validate. | |
| resource_type | Yes | Type of SageMaker resource: endpoint, training_job, notebook_instance, or model. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Response content | |
| isError | No | Whether this is an error response | |
| summary | Yes | Findings summary by pillar | |
| findings | Yes | List of findings | |
| resource | Yes | Name of the validated resource | |
| resource_type | Yes | Type of the resource |