# Functions
ConvertToECSNetworkConfiguration extracts out the NetworkConfiguration from the ECSParams into a format that is compatible with ECSClient calls.
ConvertToECSPlacementConstraint converts a list of Constraints specified in the ecs-params into a format that is compatible with ECSClient calls.
ConvertToECSPlacementStrategy converts a list of Strategies specified in the ecs-params into a format that is compatible with ECSClient calls.
ConvertToTaskDefinition transforms the yaml configs to its ecs equivalent (task definition).
GetAwsAccountIdFromArn parses an ARN and returns only the accountId portion.
GetDefaultResourceLookup returns the default Lookup mechanism for resources.
GetFormattedContainerName returns the container name with task id prepended to it.
GetIdFromArn parses an ARN and returns only the family name and revision.
GetServiceName returns a service name.
GetTaskGroup returns <task-group-prefix><task-definition-family> used for grouping tasks.
LogError logs the error with the given message at ERROR level.
ReadECSParams parses the ecs-params.yml file and puts it into an ECSParams struct.
# Constants
No description provided by the author
No description provided by the author
the ~/.cache/ecscompose directory in which to store cached task definitions changing this will cause user's caches to break.
prefix for grouping tasks.
# Variables
No description provided by the author
# Structs
AwsVpcConfiguration specifies the networking resources available to tasks running in 'awsvpc' networking mode.
No description provided by the author
ContainerDef holds fields for an ECS Container Definition that are not supplied by docker-compose.
ContainerDependency holds a dependency container.
ConvertTaskDefParams contains the inputs required to convert compose & ECS inputs into an ECS task definition.
DNSConfig holds the dns configuration for Service Discovery Services.
No description provided by the author
ECSParams contains the information parsed from the ecs-params.yml file.
EcsTaskDef corresponds to fields in an ECS TaskDefinition.
No description provided by the author
Firelens holds all possible fields for logging via Firelens https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FirelensConfiguration.html.
HealthCheck holds all possible fields for HealthCheck, including fields supported by docker compose vs ECS.
HealthCheckCustomConfig.
Logging holds a list of Secrets within SecretOptions.
Namespace holds the basic information for any type of namespace.
NetworkConfiguration specifies the network config for the task definition.
PrivateDNSNamespace holds information related to Route53 private DNS namespaces.
PublicDNSNamespace holds information related to Route53 public DNS namespaces.
RepositoryCredentials holds CredentialParameters for a ContainerDef.
RunParams specifies non-TaskDefinition specific parameters.
Secret supports the ECS Secrets integration with SSM Parameter Store.
ServiceDiscovery holds information related to ECS/Route53 Service Discovery.
ServiceDiscoveryService holds information related to Route53 Service Discovery Services.
No description provided by the author
TaskDefParams contains basic fields to build an ECS task definition.
No description provided by the author
TaskSize holds Cpu and Memory values needed for Fargate tasks https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html.
No description provided by the author
# Type aliases
TODO: Remove; use enum in aws-sdk-go instead (AssignPublicIpEnabled, AssignPublicIpDisabled).
ContainerDefs is a map of ContainerDefs within a task definition.