Skip to content

GovCloud Architecture

This document describes the architectural differences between the standard (commercial AWS) and GovCloud deployments of the GenAI IDP Accelerator.

For deployment instructions, see GovCloud Deployment Guide.

graph TB
A[Users] --> B[CloudFront Distribution]
B --> C[React Web UI]
C --> D[AppSync GraphQL API]
D --> E[Cognito Authentication]
E --> F[Core Processing Engine]
F --> G[Document Workflows]
G --> H[S3 Storage]
graph TB
A[Direct S3 Upload] --> F[Core Processing Engine]
F --> G[Document Workflows]
G --> H[S3 Storage]
I[CLI Tools] --> F
J[SDK Integration] --> F
K[REST API] --> F

The following services are automatically removed from the GovCloud template:

  • CloudFront distribution and origin access identity
  • WebUI S3 bucket and build pipeline
  • CodeBuild project for UI deployment
  • Security headers policy
  • AppSync GraphQL API and schema
  • All GraphQL resolvers and data sources (50+ resolvers)
  • Lambda resolver functions (20+ functions)
  • Test Studio Resources (36 resources): All test management Lambda functions, AppSync resolvers, data sources, SQS queues, and supporting infrastructure added in v0.4.6
  • API authentication and authorization
  • Chat infrastructure (ChatMessagesTable, ChatSessionsTable)
  • Agent chat processors and resolvers
  • Cognito User Pool and Identity Pool
  • User pool client and domain
  • Admin user and group management
  • Email verification functions
  • WAF WebACL and IP sets
  • IP set updater functions
  • CloudFront protection rules

Agent & Analytics Features (14 resources removed)

Section titled “Agent & Analytics Features (14 resources removed)”
  • AgentTable and agent job tracking
  • Agent request handler and processor functions
  • MCP/AgentCore Gateway Resources (7 resources): MCP integration components that depend on Cognito authentication (AgentCoreAnalyticsLambdaFunction, AgentCoreGatewayManagerFunction, AgentCoreGatewayExecutionRole, AgentCoreGateway, ExternalAppClient, and log groups)
  • External MCP agent credentials secret
  • Knowledge base query functions
  • Chat with document features
  • Text-to-SQL query capabilities
  • SageMaker A2I Human-in-the-Loop
  • Private workforce configuration
  • Human review workflows
  • A2I flow definition and human task UI
  • Cognito client for A2I integration

The following essential services remain available in all deployment packages:

  • ✅ Pattern 2 only (Textract + Bedrock) — Pattern 1 (BDA) and Pattern 3 (Textract + SageMaker + Bedrock) require services not available in GovCloud
  • ✅ Complete 6-step pipeline (OCR, Classification, Extraction, Assessment, Summarization, Evaluation)
  • ✅ Step Functions workflows
  • ✅ Lambda function processing
  • ✅ Custom prompt Lambda integration
  • ✅ S3 buckets (Input, Output, Working, Configuration, Logging)
  • ✅ DynamoDB tables (Tracking, Configuration, Concurrency)
  • ✅ Data encryption with customer-managed KMS keys
  • ✅ Lifecycle policies and data retention
  • ✅ CloudWatch dashboards and metrics
  • ✅ CloudWatch alarms and SNS notifications
  • ✅ Lambda function logging and tracing
  • ✅ Step Functions execution logging
  • ✅ SQS queues for document processing
  • ✅ EventBridge rules for workflow orchestration
  • ✅ Post-processing Lambda hooks
  • ✅ Evaluation and reporting systems
  • Web-based user interface
  • Real-time document status updates via websockets
  • Interactive configuration management
  • User authentication and authorization via Cognito
  • CloudFront content delivery and caching
  • WAF security rules and IP filtering
  • Analytics query interface
  • Document knowledge base chat interface
  • Use S3 direct upload or Batch Jobs REST API instead of web UI
  • Monitor through CloudWatch instead of real-time UI (see GovCloud Operations)
  • Edit configuration files in S3 directly
  • Use CLI/SDK for authentication needs
  • Access content directly from S3
  • Implement custom security at application level
  • Query data through Athena directly
  • Use the lookup function for document queries