-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
72 lines (55 loc) · 2.88 KB
/
.env.example
File metadata and controls
72 lines (55 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Environment Configuration
# Copy this file to .env and fill in your actual values
# Usage: bin/deploy.sh
# ============================================================================
# Deployment Parameters (required for sam deploy)
# ============================================================================
# Deployment environment (dev, staging, prod)
ENVIRONMENT=dev
# Bedrock AgentCore Runtime ARN (specific agent for invocation)
# Get from: aws bedrock-agent list-agents --region us-west-2
AGENT_RUNTIME_ARN=arn:aws:bedrock-agentcore:us-west-2:123456789012:runtime/your-agent-name-XXXXXXXXXX
# IAM Policy Resource ARN (supports wildcards for broader permissions)
# Use wildcard (*) to allow invoking any agent, or specific ARN to restrict
AGENT_RUNTIME_POLICY_RESOURCE=arn:aws:bedrock-agentcore:us-west-2:123456789012:runtime/*
# S3 bucket for app storage (emails, prompts, etc.)
# Get from: aws s3 ls
STORAGE_BUCKET_NAME=your-storage-bucket-name
# SQS queue ARN for SES notifications
# Get from: aws sqs list-queues --region us-west-2
SQS_QUEUE_ARN=arn:aws:sqs:us-west-2:123456789012:your-queue-name
# ============================================================================
# Timeout Configuration (optional)
# ============================================================================
# Bedrock agent read timeout in seconds (default: 300 = 5 minutes)
# How long to wait for agent response before timing out
# Note: Lambda timeout is configured in template.yaml (default: 300s)
BEDROCK_READ_TIMEOUT=300
# ============================================================================
# Advanced Configuration (optional)
# ============================================================================
# AI agent prompt cache TTL in seconds (default: 300 = 5 minutes)
# Lower values = faster S3 updates, higher values = fewer S3 calls
# PROMPT_CACHE_TTL=300
# ============================================================================
# Attachments Storage (optional - for email attachment uploads)
# ============================================================================
# S3 bucket for storing email attachments
# This bucket should be configured as CloudFront origin
# ATTACHMENTS_S3_BUCKET=your-attachments-bucket-name
# CloudFront distribution domain for public attachment URLs
# Example: d1234567890.cloudfront.net or cdn.yourdomain.com
# ATTACHMENTS_CLOUDFRONT_DOMAIN=cdn.example.com
# Maximum attachment file size in MB (default: 20)
# Files larger than this will be skipped
# ATTACHMENT_MAX_SIZE_MB=20
# ============================================================================
# Local Development (optional)
# ============================================================================
# Uncomment to override AWS CLI credentials
# AWS_ACCESS_KEY_ID=your-access-key
# AWS_SECRET_ACCESS_KEY=your-secret-key
# AWS_DEFAULT_REGION=us-west-2
# SAM CLI settings
# SAM_CLI_TELEMETRY=0
# LOG_LEVEL=INFO