Optional ReadonlyadminOptional ReadonlyalarmsCloudWatch alarm configuration for monitoring API health (5XX, 4XX, latency). When provided, alarms and an SNS notification topic are created.
Optional ReadonlyapiSpecifies API GW throttling rate limit. The total rate of all requests in your AWS account is limited to 10,000 requests per second (rps). If undefined 2500 is used.
Optional ReadonlydisableDisable the default execute-api endpoint. When true, clients must use the custom domain. Recommended when a custom domain is configured to enforce TLS 1.2+ exclusively.
Optional ReadonlyendpointAPI Gateway endpoint type
Optional ReadonlyhostedRoute53 hosted zone name for domain setup
Optional ReadonlylambdaLambda architecture (ARM64 or x86_64). If undefined, Architecture.X86_64 is used
Optional ReadonlylogNumber of days to retain access logs in CloudWatch log group for access logs. If undefined, infinite is used.
Optional ReadonlylogPrefix for CloudWatch log group names
Optional ReadonlypowertoolsEnable PowerTools development logging
Optional ReadonlyprivateVPC endpoint IDs for private API access (Restrict access to specific VPC endpoints if configured).
Optional ReadonlyprovisionedProvisioned concurrency for Lambda functions
Optional ReadonlypythonPython runtime version. If undefined, Runtime.PYTHON_3_13 is used.
Optional ReadonlyrestCustom domain name for REST API. Will be configured if hostedZoneName is specified as well.
Optional ReadonlyrestMemory allocation for the REST API handler Lambda function in MB. If undefined, 1024MB is used.
Optional ReadonlyrestTimeout for the REST API handler Lambda function in seconds. If unspecified, 10 minutes is used (600 seconds)
Optional ReadonlysetWhether to set API Gateway account CloudWatch role
Optional ReadonlywafWAF ARN for API protection
Admin group name for access to the admin interface