Skip to main content

AwsServerlessEnvironmentModuleSchema

AwsServerlessEnvironmentModuleSchema is the input schema for the AwsServerlessEnvironmentModule module: an environment in a serverless region, and the environment variables every execution in it gets.

@group

Modules/Environment/AwsServerlessEnvironment

@see

AwsServerlessEnvironmentModule to learn more about the AwsServerlessEnvironmentModule module.

Index

Properties

environmentName

environmentName: string

The name of the environment, e.g. qa or production.

optionalenvironmentVariables

environmentVariables?: Record<string, string> = {}

Environment variables passed to every execution in this environment. A key is two or more letters, digits or underscores; a value is not empty.

region

region: Region

The serverless region this environment is in.