Skip to main content

AwsEcsExecutionModuleSchema

AwsEcsExecutionModuleSchema is the input schema for the AwsEcsExecutionModule module. This schema defines the comprehensive configuration for ECS-based executions, including deployment orchestration, environment settings, networking, and security.

@group

Modules/Execution/AwsEcsExecution

@see

AwsEcsExecutionModule to learn more about the AwsEcsExecutionModule module.

Index

Properties

deployments

deployments: { main: { containerProperties: AwsEcsExecutionModuleDeploymentContainerPropertiesSchema; deployment: Deployment }; sidecars: { containerProperties: Pick<AwsEcsExecutionModuleDeploymentContainerPropertiesSchema, image>; deployment: Deployment }[] } = ...

The deployment configuration including main and sidecar containers. The main deployment is the primary application container, while sidecars provide supporting functionality.


Type declaration

desiredCount

desiredCount: number = ...

The desired number of running instances of the service. This defines how many tasks should be running simultaneously.

environment

environment: Environment = ...

The environment where this execution will run. The environment must have ECS cluster anchors configured.

optionalenvironmentVariables

environmentVariables?: Record<string, string> = ...

Environment variables to set for the execution. These are available to all containers in the task. Keys must be valid environment variable names (alphanumeric with minimum 2 characters).

executionId

executionId: string = ...

A unique identifier for this execution. This is used to distinguish between different executions in the same environment.

optionalfilesystems

filesystems?: Filesystem[] = ...

The filesystems to mount in the execution. These provide persistent storage for the containers.

optionalsecurityGroupRules

securityGroupRules?: AwsSecurityGroupAnchorRuleSchema[] = ...

Security group rules to apply to the execution. These define the network traffic rules for the containers.

subnet

subnet: Subnet = ...

The subnet where the execution will run. This defines the network isolation and connectivity for the containers.