latest--scheduled-job
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/aws-copilot-manifest/_shared/latest--scheduled-job.json |
| Parent schema | aws-copilot-manifest |
Scheduled Job manifest for AWS Copilot https://aws.github.io/copilot-cli/docs/manifest/scheduled-job/
Properties
The name of your job.
The architecture type for your job. Currently, Copilot only supports the 'Scheduled Job' type for tasks that are triggered either on a fixed schedule or periodically.
The configuration for the event that triggers your job.
1 nested properties
You can specify a rate to periodically trigger your job or a cron schedule if you'd like to trigger the job at a specific time.
The image section contains parameters relating to the Docker build configuration or referring to an existing container image.
The number of times to retry the job before failing.
How long the job should run before it aborts and fails. You can use the units: h, m, or s.
The network section contains parameters for connecting to AWS resources in a VPC.
Key-value pairs that represent environment variables that will be passed to your job. Copilot will include a number of environment variables by default for you.
The path to a file from the root of your workspace containing the environment variables to pass to the main container. For more information about the environment variable file, see Considerations for specifying environment variable files.
Key-value pairs that represent secret values from AWS Systems Manager Parameter Store that will be securely passed to your job as environment variables.
The Storage section lets you specify external EFS volumes for your containers and sidecars to mount. This allows you to access persistent storage across regions for data processing or CMS workloads.
The logging section contains log configuration parameters for your container's FireLens log driver.
The publish section allows services to publish messages to one or more SNS topics.
The environment section lets you override any value in your manifest based on the environment you're in.