latest--lb-web-service
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/aws-copilot-manifest/_shared/latest--lb-web-service.json |
| Parent schema | aws-copilot-manifest |
Load Balanced Web Service manifest for AWS Copilot https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/
Properties
The name of your service.
The architecture type for your service. A Load Balanced Web Service is an internet-facing service that's behind a load balancer, orchestrated by Amazon ECS on AWS Fargate.
The http section contains parameters related to integrating your service with an Application Load Balancer.
The nlb section contains parameters related to integrating your service with a Network Load Balancer.
8 nested properties
Required. The port and protocol for the Network Load Balancer to listen on.
Specify the health check configuration for your Network Load Balancer.
A sidecar container that takes the place of a service container.
The container port that receives traffic. Specify this field if the container port is different from nlb.port, the listener port.
The security policy that defines which protocols and ciphers are supported. To learn more, see this doc.
Indicates whether sticky sessions are enabled.
Domain aliases for your service.
Configure multiple NLB listeners.
The image section contains parameters relating to the Docker build configuration or referring to an existing container image.
Enable running commands in your container. The default is false. Required for $ copilot svc exec.
The deployment section contains parameters to control how many tasks run during the deployment and the ordering of stopping and starting tasks.
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 service. 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 or AWS Secrets Manager that will be securely passed to your service 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 availability zones in a region for data processing or CMS workloads. For more detail, see the storage page. You can also specify extensible ephemeral storage at the task level.
The publish section allows services to publish messages to one or more SNS topics.
The logging section contains log configuration. You can also configure parameters for your container's FireLens log driver in this section.
The observability section lets you configure ways to measure your service's current state. Currently, only tracing configuration is supported.
The taskdef_overrides section allows users to apply overriding rules to their ECS Task Definitions.
The environment section lets you override any value in your manifest based on the environment you're in.