AI Recommendations
Experience intelligent infrastructure analysis with CDK Insights AI. Get context-aware recommendations for security, cost optimization, and performance improvements.
What is AI-Powered Analysis?
CDK Insights AI goes beyond traditional static analysis by using machine learning to understand your infrastructure context and provide intelligent recommendations. Unlike rule-based analysis, AI considers:
- Resource Relationships - How components interact with each other
- Usage Patterns - How your infrastructure is actually used
- Industry Best Practices - Proven patterns from thousands of deployments
- Contextual Risk - Real-world impact assessment
This results in more accurate, relevant, and actionable recommendations that help you build better infrastructure.
AI Analysis Capabilities
Security Analysis
AI-powered security vulnerability detection and remediation
Key Features
- Context-aware security recommendations
- CloudFormation configuration analysis
- Compliance framework alignment
- Risk assessment and prioritization
Example Recommendations
- →Suggests least-privilege IAM policies based on configuration
- →Identifies potential data exposure risks in S3 configurations
- →Recommends encryption strategies for sensitive workloads
Cost Optimization
Intelligent cost reduction suggestions based on resource configuration
Key Features
- Resource configuration analysis
- Right-sizing recommendations
- Storage optimization suggestions
- Cost reduction opportunities
Example Recommendations
- →Recommends Lambda memory optimization based on configuration
- →Suggests RDS instance right-sizing and storage optimizations
- →Identifies potentially over-provisioned resources
Performance Enhancement
AI-driven performance optimization recommendations
Key Features
- Performance bottleneck identification
- Architecture pattern suggestions
- Scaling strategy recommendations
- Latency optimization tips
Example Recommendations
- →Suggests caching strategies for frequently accessed data
- →Recommends database connection pooling optimizations
- →Identifies API Gateway throttling opportunities
AI vs Static Analysis
| Aspect | Static Analysis | AI Analysis | 
|---|---|---|
| Issue Detection | Rule-based pattern matching | Context-aware intelligent analysis | 
| Recommendations | Generic best practice suggestions | Personalized, actionable recommendations | 
| False Positives | Higher false positive rate | Reduced false positives through context understanding | 
| Learning | Static rule set | Continuously improves with usage patterns | 
| Complexity | Simple rule-based analysis | Handles complex, multi-resource scenarios | 
Advanced AI Features
Contextual Analysis
AI understands the relationships between resources and their intended use
Benefit:
More accurate and relevant recommendations
Example: Recognizes that a Lambda function with high memory is intentionally configured for data processing workloads
Pattern Recognition
Identifies common anti-patterns and suggests proven alternatives
Benefit:
Prevents common mistakes before they become problems
Example: Detects tight coupling between services and suggests event-driven architecture patterns
Risk Assessment
Evaluates the actual risk level of security and configuration issues
Benefit:
Prioritizes issues based on real-world impact
Example: Identifies that a public S3 bucket containing only static assets has lower risk than one with sensitive data
Expert Analysis
AI uses AWS Well-Architected Framework and STRIDE methodology
Benefit:
Industry-standard best practices in every recommendation
Example: Applies security principles from AWS WAF and STRIDE to identify threats and provide remediation guidance
AI Features by Tier
Free Tier
Limited AI analysis
Limitations:
- Basic static analysis only
- Standard rule-based recommendations
- No personalized suggestions
Pro Tier
Full AI-powered analysis
AI Benefits:
- Context-aware recommendations
- Intelligent issue prioritization
- Personalized optimization suggestions
- Advanced security analysis
Getting Started with AI Analysis
Upgrade to Pro
AI analysis is available in the Pro tier. Upgrade your license to access intelligent recommendations.
Set Your License Key
Configure your Pro license key to enable AI features:
export CDK_INSIGHTS_LICENSE_KEY=your_pro_license_keyRun Analysis
AI analysis runs automatically when you scan your CDK application:
npx cdk-insights scanReady to Experience AI-Powered Analysis?
Upgrade to Pro tier and discover how AI can transform your CDK infrastructure analysis with intelligent, context-aware recommendations.