Create Aws environment
Creates an environment and queues provisioning. HTTP 201 does not mean infrastructure is ready. Inspect the environment and jobs for completion.
Requires every scope: environments:write.
Authentication
AuthorizationBearer
JWT returned by POST /api/auth/token-exchange. Amazon and authorization invitations require API-key-derived tokens.
Request
This endpoint expects an object.
environmentName
awsRegion
awsAccessKeyId
awsSecretAccessKey
templateId
deploymentPattern
awsAccountId
Optional 12-digit account ID; whitespace is trimmed.
customDomain
tlsCertificateArn
enableWaf
enableCloudFront
parameters
Response
Success
environmentId
jobId
message
resourceGroup
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
503
Service Unavailable Error