"""Configuration constants for the CloudFormation Stack Updater.""" # Mapping of stack name prefix → template URL. # Each prefix uses a different nested template from the Centralized Logging solution. STACK_PROFILES: dict[str, str] = { "CL-AppPipe-": "https://s3.amazonaws.com/solutions-reference/centralized-logging-with-opensearch/latest/AppLogS3Buffer.template", "CL-SvcPipe-": "https://s3.amazonaws.com/solutions-reference/centralized-logging-with-opensearch/latest/S3AccessLog.template", } # Kept for backward compatibility and single-prefix CLI usage TEMPLATE_URL = STACK_PROFILES["CL-AppPipe-"] DEFAULT_PREFIX = "CL-AppPipe-" DEFAULT_CONCURRENCY = 5 MAX_RETRIES = 3 BASE_RETRY_DELAY = 1.0 # seconds NON_UPDATABLE_STATUSES = frozenset({ "ROLLBACK_COMPLETE", "ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", })