AwsDeploymentModuleSchema
Index
Properties
optionalcommand
The command to run, replacing the image's own, one argument per element, e.g. ['node', 'main.js'].
optionalcpu
The CPU units the code needs, where 1024 units are one vCPU. ECS needs it; Lambda derives CPU from memory.
deploymentTag
A unique tag to identify this deployment version.
optionalimage
The ECR image whose published tag the deployment runs. Set it with imageTag.
optionalimageTag
The tag of image the deployment runs, e.g. 0.0.1.
optionalimageUri
The URI of an image octo does not publish, e.g. docker.io/nginx:1.27. Only ECS runs it.
optionalmemory
The memory the code needs, in MiB.
optionalports
The ports the code listens on. See AwsDeploymentAnchorPortSchema for options.
server
The server whose code this is.
optionaltimeoutInSeconds
How long one request may run, in seconds. Lambda needs it.
AwsDeploymentModuleSchemais the input schema for theAwsDeploymentModulemodule: the code a deployment runs, and what that code needs.The code is a container image: either
imageandimageTag, naming a tag octo publishes into ECR, orimageUri, naming any other image. Every other field is what the code needs from whatever runs it, and the execution module checks the ones its runtime uses.Modules/Deployment/AwsDeployment
AwsDeploymentModule to learn more about the
AwsDeploymentModulemodule.