`port` Integer Port of the container to expose (optional). `image` String or Map Image URL for the sidecar container (required). {% include 'image-config.en.md' %} `essential` Bool Whether the sidecar container is an essential container (optional, default true). `credentialsParameter` String ARN of the secret containing the private repository credentials (optional). `variables` Map Environment variables for the sidecar container (optional) `secrets` Map Secrets to expose to the sidecar container (optional) `env_file` String The path to a file from the root of your workspace containing the environment variables to pass to the sidecar container. For more information about the environment variable file, see [Considerations for specifying environment variable files](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html#taskdef-envfiles-considerations). `mount_points` Array of Maps Mount paths for EFS volumes specified at the service level (optional). mount_points.`source_volume` String Source volume to mount in this sidecar (required). mount_points.`path` String The path inside the sidecar container at which to mount the volume (required). mount_points.`read_only` Boolean Whether to allow the sidecar read-only access to the volume (default true). `labels` Map Docker labels to apply to this container (optional). `depends_on` Map Container dependencies to apply to this container (optional). `entrypoint` String or Array of Strings Override the default entrypoint in the sidecar. ```yaml # String version. entrypoint: "/bin/entrypoint --p1 --p2" # Alteratively, as an array of strings. entrypoint: ["/bin/entrypoint", "--p1", "--p2"] ``` `command` String or Array of Strings Override the default command in the sidecar. ```yaml # String version. command: ps au # Alteratively, as an array of strings. command: ["ps", "au"] ``` `healthcheck` Map Optional configuration for sidecar container health checks. healthcheck.`command` Array of Strings The command to run to determine if the sidecar container is healthy. The string array can start with `CMD` to execute the command arguments directly, or `CMD-SHELL` to run the command with the container's default shell. healthcheck.`interval` Duration Time period between health checks, in seconds. Default is 10s. healthcheck.`retries` Integer Number of times to retry before container is deemed unhealthy. Default is 2. healthcheck.`timeout` Duration How long to wait before considering the health check failed, in seconds. Default is 5s. healthcheck.`start_period` Duration Length of grace period for containers to bootstrap before failed health checks count towards the maximum number of retries. Default is 0s.