Module Awso_ecs.ValuesSource

Sourceval service : Awso.Service.t
Sourceval apiVersion : string
Sourceval endpointPrefix : string
Sourceval serviceFullName : string
Sourceval signatureVersion : string
Sourceval protocol : string
Sourceval globalEndpoint : string
Sourceval serviceAbbreviation : string
Sourceval targetPrefix : string
Sourceval simple_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval composed_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval to_query : ('a -> Awso.Client.Query.value) -> 'a -> Awso.Client.Query.t
Sourceval structure_to_value_aux : ('a * 'b option) list -> f:(('a * 'b) list -> 'c) -> [> `Structure of 'c ]
Sourceval structure_to_value : ('a * 'b option) list -> [> `Structure of ('a * 'b) list ]
Sourceval structure_to_wrapped_value : wrapper:'a -> response:'a -> ('b * 'c option) list -> [> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]
Sourcemodule String_ : sig ... end

The header matching rules for test traffic routing in Amazon ECS blue/green deployments. These rules determine how incoming requests are matched based on HTTP headers to route test traffic to the new service revision.

Sourcemodule TagKey : sig ... end
Sourcemodule TagValue : sig ... end

The HTTP header rules used to identify and route test traffic during Amazon ECS blue/green deployments. These rules specify which HTTP headers to examine and what values to match for routing decisions. For more information, see Service Connect for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide.

Sourcemodule Tag : sig ... end

The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them. The following basic restrictions apply to tags: Maximum number of tags per resource - 50 For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8 Maximum value length - 256 Unicode characters in UTF-8 If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Sourcemodule PortNumber : sig ... end

The test traffic routing configuration for Amazon ECS blue/green deployments. This configuration allows you to define rules for routing specific traffic to the new service revision during the deployment process, allowing for safe testing before full production traffic shift. For more information, see Service Connect for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide.

Sourcemodule EBSResourceType : sig ... end
Sourcemodule PropagateTags : sig ... end
Sourcemodule Tags : sig ... end
Sourcemodule ServiceConnectClientAlias : sig ... end

Each alias ("endpoint") is a fully-qualified name and port number that other tasks ("clients") can use to connect to this service. Each name and port mapping must be unique within the namespace. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

The certificate root authority that secures your service.

Sourcemodule Duration : sig ... end
Sourcemodule EBSTagSpecification : sig ... end

The tag specifications of an Amazon EBS volume.

Sourcemodule DeviceCgroupPermission : sig ... end
Sourcemodule EnvironmentFileType : sig ... end
Sourcemodule ResourceType : sig ... end
Sourcemodule Secret : sig ... end

An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways: To inject sensitive data into your containers as environment variables, use the secrets container definition parameter. To reference sensitive information in the log configuration of a container, use the secretOptions container definition parameter. For more information, see Specifying sensitive data in the Amazon Elastic Container Service Developer Guide.

The key that encrypts and decrypts your resources for Service Connect TLS.

Sourcemodule TimeoutConfiguration : sig ... end

An object that represents the timeout configurations for Service Connect. If idleTimeout is set to a time that is less than perRequestTimeout, the connection will close when the idleTimeout is reached and not the perRequestTimeout.

Sourcemodule BoxedBoolean : sig ... end
Sourcemodule BoxedInteger : sig ... end
Sourcemodule EBSKMSKeyId : sig ... end
Sourcemodule EBSSnapshotId : sig ... end
Sourcemodule EBSTagSpecifications : sig ... end
Sourcemodule EBSVolumeType : sig ... end
Sourcemodule IAMRoleArn : sig ... end
Sourcemodule TaskFilesystemType : sig ... end
Sourcemodule ManagedResourceStatus : sig ... end
Sourcemodule Timestamp : sig ... end
Sourcemodule Integer : sig ... end
Sourcemodule DeviceCgroupPermissions : sig ... end
Sourcemodule StringList : sig ... end
Sourcemodule ManagedAgentName : sig ... end
Sourcemodule TransportProtocol : sig ... end
Sourcemodule EnvironmentFile : sig ... end

A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored. If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see Use a file to pass environment variables to a container in the Amazon Elastic Container Service Developer Guide. Environment variable files are objects in Amazon S3 and all Amazon S3 security considerations apply. You must use the following platforms for the Fargate launch type: Linux platform version 1.4.0 or later. Windows platform version 1.0.0 or later. Consider the following when using the Fargate launch type: The file is handled like a native Docker env-file. There is no support for shell escape handling. The container entry point interperts the VARIABLE values.

Sourcemodule KeyValuePair : sig ... end

A key-value pair object.

Sourcemodule ResourceRequirement : sig ... end

The type and amount of a resource to assign to a container. The supported resource types are GPUs and Elastic Inference accelerators. For more information, see Working with GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide

Sourcemodule AssignPublicIp : sig ... end
Sourcemodule LogDriver : sig ... end
Sourcemodule SecretList : sig ... end
Sourcemodule ServiceConnectService : sig ... end

The Service Connect service object configuration. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

Sourcemodule ECSVolumeName : sig ... end

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. For information about the supported launch types and operating systems, see Supported operating systems and launch types in the Amazon Elastic Container Service Developer Guide. Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request parameters.

Sourcemodule AdvancedConfiguration : sig ... end

The advanced settings for a load balancer used in blue/green deployments. Specify the alternate target group, listener rules, and IAM role required for traffic shifting during blue/green deployments. For more information, see Required resources for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide.

Sourcemodule Double : sig ... end
Sourcemodule ManagedSecurityGroup : sig ... end

A security group associated with the Express service.

Sourcemodule ManagedTargetGroup : sig ... end

The target group associated with the Express service's Application Load Balancer. For more information about load balancer target groups, see CreateTargetGroup in the Elastic Load Balancing API Reference

Sourcemodule AcceleratorManufacturer : sig ... end
Sourcemodule AcceleratorName : sig ... end
Sourcemodule AcceleratorType : sig ... end
Sourcemodule AllowedInstanceType : sig ... end
Sourcemodule CpuManufacturer : sig ... end
Sourcemodule ExcludedInstanceType : sig ... end
Sourcemodule InstanceGeneration : sig ... end
Sourcemodule LocalStorageType : sig ... end
Sourcemodule BoxedDouble : sig ... end
Sourcemodule ContainerCondition : sig ... end
Sourcemodule Device : sig ... end

An object representing a container instance host device.

Sourcemodule Tmpfs : sig ... end

The container path, mount options, and size of the tmpfs mount.

Sourcemodule ApplicationProtocol : sig ... end
Sourcemodule UlimitName : sig ... end
Sourcemodule EFSAuthorizationConfigIAM : sig ... end
Sourcemodule InstanceHealthCheckState : sig ... end
Sourcemodule InstanceHealthCheckType : sig ... end
Sourcemodule ManagedAgent : sig ... end

Details about the managed agent status for the container.

Sourcemodule NetworkBinding : sig ... end

Details on the network bindings between a container and its host container instance. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

Sourcemodule NetworkInterface : sig ... end

An object representing the elastic network interface for tasks that use the awsvpc network mode.

Sourcemodule EnvironmentFiles : sig ... end
Sourcemodule EnvironmentVariables : sig ... end
Sourcemodule ResourceRequirements : sig ... end
Sourcemodule HookDetails : sig ... end

The details of a capacity provider strategy. A capacity provider strategy can be set when using the RunTaskor CreateCluster APIs or as the default capacity provider strategy for a cluster with the CreateCluster API. Only capacity providers that are already associated with a cluster and have an ACTIVE or UPDATING status can be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New Auto Scaling group capacity providers can be created with the CreateClusterCapacityProvider API operation. To use a Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used in a capacity provider strategy. With FARGATE_SPOT, you can run interruption tolerant tasks at a rate that's discounted compared to the FARGATE price. FARGATE_SPOT runs tasks on spare compute capacity. When Amazon Web Services needs the capacity back, your tasks are interrupted with a two-minute warning. FARGATE_SPOT supports Linux tasks with the X86_64 architecture on platform version 1.3.0 or later. FARGATE_SPOT supports Linux tasks with the ARM64 architecture on platform version 1.4.0 or later. A capacity provider strategy can contain a maximum of 20 capacity providers.

Sourcemodule AwsVpcConfiguration : sig ... end

An object representing the networking details for a task or service. For example awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}.

Sourcemodule Boolean : sig ... end
Sourcemodule LogConfiguration : sig ... end

The log configuration for the container. This parameter maps to LogConfig in the docker container create command and the --log-driver option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition. Understand the following when specifying a log configuration for your containers. Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent. For tasks on Fargate, the supported log drivers are awslogs, splunk, and awsfirelens. For tasks hosted on Amazon EC2 instances, the supported log drivers are awslogs, fluentd, gelf, json-file, journald,syslog, splunk, and awsfirelens. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the Amazon Elastic Container Service Developer Guide. For tasks that are on Fargate, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.

Configuration for Service Connect access logging. Access logs provide detailed information about requests made to your service, including request patterns, response codes, and timing data for debugging and monitoring purposes. To enable access logs, you must also specify a logConfiguration in the serviceConnectConfiguration.

Sourcemodule ServiceConnectServiceList : sig ... end

The Service Connect resource. Each configuration maps a discovery name to a Cloud Map service name. The data is stored in Cloud Map as part of the Service Connect configuration for each discovery name of this Amazon ECS service. A task can resolve the dnsName for each of the clientAliases of a service. However a task can't resolve the discovery names. If you want to connect to a service, refer to the ServiceConnectConfiguration of that service for the list of clientAliases that you can use.

The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.

Sourcemodule VpcLatticeConfiguration : sig ... end

The VPC Lattice configuration for your service that holds the information for the target group(s) Amazon ECS tasks will be registered to.

Sourcemodule LoadBalancer : sig ... end

The load balancer configuration to use with a service or task set. When you add, update, or remove a load balancer configuration, Amazon ECS starts a new deployment with the updated Elastic Load Balancing configuration. This causes tasks to register to and deregister from load balancers. We recommend that you verify this on a test environment before you update the Elastic Load Balancing configuration. A service-linked role is required for services that use multiple target groups. For more information, see Using service-linked roles in the Amazon Elastic Container Service Developer Guide.

Sourcemodule ScaleUnit : sig ... end
Sourcemodule ServiceRegistry : sig ... end

The details for the service registry. Each service may be associated with one service registry. Multiple service registries for each service are not supported. When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration.

The Application Auto Scaling policy created by Amazon ECS when you create an Express service.

Sourcemodule AccessType : sig ... end
Sourcemodule ManagedCertificate : sig ... end

The ACM certificate associated with the HTTPS domain created for the Express service.

Sourcemodule ManagedListener : sig ... end

The listeners associated with the Express service's Application Load Balancer.

Sourcemodule ManagedListenerRule : sig ... end

The listener rule associated with the Express service's Application Load Balancer.

Sourcemodule ManagedLoadBalancer : sig ... end

The Application Load Balancer associated with the Express service.

Sourcemodule ManagedSecurityGroups : sig ... end
Sourcemodule ManagedTargetGroups : sig ... end

Information about a capacity provider during a daemon deployment.

Sourcemodule AcceleratorCountRequest : sig ... end

The minimum and maximum number of accelerators (such as GPUs) for instance type selection. This is used for workloads that require specific numbers of accelerators.

Sourcemodule AcceleratorNameSet : sig ... end

The minimum and maximum total accelerator memory in mebibytes (MiB) for instance type selection. This is important for GPU workloads that require specific amounts of video memory.

Sourcemodule AcceleratorTypeSet : sig ... end
Sourcemodule AllowedInstanceTypeSet : sig ... end
Sourcemodule BareMetal : sig ... end

The minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps) for instance type selection. This is important for workloads with high storage I/O requirements.

Sourcemodule BurstablePerformance : sig ... end
Sourcemodule CpuManufacturerSet : sig ... end
Sourcemodule ExcludedInstanceTypeSet : sig ... end
Sourcemodule InstanceGenerationSet : sig ... end
Sourcemodule LocalStorage : sig ... end
Sourcemodule LocalStorageTypeSet : sig ... end
Sourcemodule MemoryGiBPerVCpuRequest : sig ... end

The minimum and maximum amount of memory per vCPU in gibibytes (GiB). This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads.

Sourcemodule MemoryMiBRequest : sig ... end

The minimum and maximum amount of memory in mebibytes (MiB) for instance type selection. This ensures that selected instance types have adequate memory for your workloads.

The minimum and maximum network bandwidth in gigabits per second (Gbps) for instance type selection. This is important for network-intensive workloads.

The minimum and maximum number of network interfaces for instance type selection. This is useful for workloads that require multiple network interfaces.

The minimum and maximum total local storage in gigabytes (GB) for instance types with local storage. This is useful for workloads that require local storage for temporary data or caching.

Sourcemodule VCpuCountRangeRequest : sig ... end

The minimum and maximum number of vCPUs for instance type selection. This allows you to specify a range of vCPU counts that meet your workload requirements.

Sourcemodule TaskVolumeStorageGiB : sig ... end
Sourcemodule ContainerDependency : sig ... end

The dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed. Your Amazon ECS container instances require at least version 1.26.0 of the container agent to use container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init package. If your container instances are launched from version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide. For tasks that use the Fargate launch type, the task or service requires the following platforms: Linux platform version 1.3.0 or later. Windows platform version 1.0.0 or later. For more information about how to create a container dependency, see Container dependency in the Amazon Elastic Container Service Developer Guide.

Sourcemodule IntegerList : sig ... end
Sourcemodule FirelensConfigurationType : sig ... end
Sourcemodule HostEntry : sig ... end

Hostnames and IP address entries that are added to the /etc/hosts file of a container via the extraHosts parameter of its ContainerDefinition.

Sourcemodule DevicesList : sig ... end
Sourcemodule KernelCapabilities : sig ... end

The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition. For more detailed information about these Linux capabilities, see the capabilities(7) Linux manual page. The following describes how Docker processes the Linux capabilities specified in the add and drop request parameters. For information about the latest behavior, see Docker Compose: order of cap_drop and cap_add in the Docker Community Forum. When the container is a privleged container, the container capabilities are all of the default Docker capabilities. The capabilities specified in the add request parameter, and the drop request parameter are ignored. When the add request parameter is set to ALL, the container capabilities are all of the default Docker capabilities, excluding those specified in the drop request parameter. When the drop request parameter is set to ALL, the container capabilities are the capabilities specified in the add request parameter. When the add request parameter and the drop request parameter are both empty, the capabilities the container capabilities are all of the default Docker capabilities. The default is to first drop the capabilities specified in the drop request parameter, and then add the capabilities specified in the add request parameter.

Sourcemodule TmpfsList : sig ... end
Sourcemodule MountPoint : sig ... end

The details for a volume mount point that's used in a container definition.

Sourcemodule PortMapping : sig ... end

Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition. If you use containers in a task with the awsvpc or host network mode, specify the exposed ports using containerPort. The hostPort can be left blank or it must be the same value as the containerPort. Most fields of this parameter (containerPort, hostPort, protocol) maps to PortBindings in the docker container create command and the --publish option to docker run. If the network mode of a task definition is set to host, host ports must either be undefined or match the container port in the port mapping. You can't expose the same container port for multiple protocols. If you attempt this, an error is returned. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

Sourcemodule SystemControl : sig ... end

A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls in the docker container create command and the --sysctl option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time setting to maintain longer lived connections. We don't recommend that you specify network-related systemControls parameters for multiple containers in a single task that also uses either the awsvpc or host network mode. Doing this has the following disadvantages: For tasks that use the awsvpc network mode including Fargate, if you set systemControls for any container, it applies to all containers in the task. If you set different systemControls for multiple containers in a single task, the container that's started last determines which systemControls take effect. For tasks that use the host network mode, the network namespace systemControls aren't supported. If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see IPC mode. For tasks that use the host IPC mode, IPC namespace systemControls aren't supported. For tasks that use the task IPC mode, IPC namespace systemControls values apply to all containers within a task. This parameter is not supported for Windows containers. This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0 or later (Linux). This isn't supported for Windows containers on Fargate.

Sourcemodule Ulimit : sig ... end

The ulimit settings to pass to the container. Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The nofile resource limit sets a restriction on the number of open files that a container can use. The default nofile soft limit is 65535 and the default hard limit is 65535. You can specify the ulimit settings for a container in a task definition.

Sourcemodule VolumeFrom : sig ... end

Details on a data volume from another container in the same task definition.

Sourcemodule Scope : sig ... end
Sourcemodule StringMap : sig ... end
Sourcemodule EFSAuthorizationConfig : sig ... end

The authorization configuration details for the Amazon EFS file system.

Sourcemodule EFSTransitEncryption : sig ... end

The authorization configuration details for Amazon FSx for Windows File Server file system. See FSxWindowsFileServerVolumeConfiguration in the Amazon ECS API Reference. For more information and the input format, see Amazon FSx for Windows File Server Volumes in the Amazon Elastic Container Service Developer Guide.

Sourcemodule AttachmentDetails : sig ... end
Sourcemodule TargetType : sig ... end
Sourcemodule InstanceHealthCheckResult : sig ... end

An object representing the result of a container instance health status check.

Sourcemodule Long : sig ... end
Sourcemodule GpuIds : sig ... end
Sourcemodule HealthStatus : sig ... end
Sourcemodule ManagedAgents : sig ... end
Sourcemodule NetworkBindings : sig ... end
Sourcemodule NetworkInterfaces : sig ... end
Sourcemodule ContainerOverride : sig ... end

The overrides that are sent to a container. An empty container override can be passed in. An example of an empty container override is {"containerOverrides": [ ] }. If a non-empty container override is specified, the name parameter must be included. You can use Secrets Manager or Amazon Web Services Systems Manager Parameter Store to store the sensitive data. For more information, see Retrieve secrets through environment variables in the Amazon ECS Developer Guide.

Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

Sourcemodule DeploymentLifecycleHook : sig ... end

A deployment lifecycle hook runs custom logic at specific stages of the deployment process. Currently, you can use Lambda functions as hook targets. For more information, see Lifecycle hooks for Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide.

Sourcemodule CapacityProviderStrategy : sig ... end

The amount of ephemeral storage to allocate for the deployment.

Sourcemodule DeploymentRolloutState : sig ... end
Sourcemodule LaunchType : sig ... end
Sourcemodule NetworkConfiguration : sig ... end

The network configuration for a task or service.

The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

Sourcemodule VpcLatticeConfigurations : sig ... end
Sourcemodule PlacementConstraintType : sig ... end
Sourcemodule PlacementStrategyType : sig ... end
Sourcemodule LoadBalancers : sig ... end
Sourcemodule Scale : sig ... end

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Sourcemodule ServiceRegistries : sig ... end
Sourcemodule StabilityStatus : sig ... end
Sourcemodule ManagedScalableTarget : sig ... end

Represents a scalable target.

Sourcemodule ManagedIngressPath : sig ... end

The entry point into the Express service.

Sourcemodule ManagedLogGroup : sig ... end

The Cloudwatch Log Group created by Amazon ECS for an Express service.

Sourcemodule ManagedMetricAlarm : sig ... end

The CloudWatch metric alarm associated with the Express service's scaling policy.

The resolved load balancer configuration for a service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.

The repository credentials for private registry authentication to pass to the container.

Specifies the Amazon CloudWatch Logs configuration for the Express service container.

Sourcemodule IngressPathSummary : sig ... end

The entry point into an Express service.

Sourcemodule DaemonCapacityProvider : sig ... end

Information about a capacity provider associated with a daemon revision.

The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

Sourcemodule ExecuteCommandLogging : sig ... end
Sourcemodule ClusterSettingName : sig ... end
Sourcemodule ManagedScalingStatus : sig ... end
Sourcemodule ManagedScalingStepSize : sig ... end
Sourcemodule AutoRepairActionsStatus : sig ... end
Sourcemodule CapacityOptionType : sig ... end

The Capacity Reservation configurations to be used when using the RESERVED capacity option type.

The instance requirements for attribute-based instance type selection. Instead of specifying exact instance types, you define requirements such as vCPU count, memory size, network performance, and accelerator specifications. Amazon ECS automatically selects Amazon EC2 instance types that match these requirements, providing flexibility and helping to mitigate capacity constraints.

The local storage configuration for Amazon ECS Managed Instances. This defines how ECS uses and configures instance store volumes available on container instance.

The network configuration for Amazon ECS Managed Instances. This specifies the VPC subnets and security groups that instances use for network connectivity. Amazon ECS Managed Instances support multiple network modes including awsvpc (instances receive ENIs for task isolation), host (instances share network namespace with tasks), and none (no external network connectivity), ensuring backward compatibility for migrating workloads from Fargate or Amazon EC2.

The storage configuration for Amazon ECS Managed Instances. This defines the data volume configuration for the instances.

Sourcemodule ContainerDependencies : sig ... end
Sourcemodule ContainerRestartPolicy : sig ... end

You can enable a restart policy for each container defined in your task definition, to overcome transient failures faster and maintain task availability. When you enable a restart policy for a container, Amazon ECS can restart the container if it exits, without needing to replace the task. For more information, see Restart individual containers in Amazon ECS tasks with container restart policies in the Amazon Elastic Container Service Developer Guide.

Sourcemodule DockerLabelsMap : sig ... end
Sourcemodule FirelensConfiguration : sig ... end

The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

Sourcemodule HealthCheck : sig ... end

An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run. The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image. You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console. The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability. Amazon ECS performs health checks on containers with the default that launched the container instance or the task. The following describes the possible healthStatus values for a container: HEALTHY-The container health check has passed successfully. UNHEALTHY-The container health check has failed. UNKNOWN-The container health check is being evaluated, there's no container health check defined, or Amazon ECS doesn't have the health status of the container. The following describes the possible healthStatus values based on the container health checker status of essential containers in the task with the following priority order (high to low): UNHEALTHY-One or more essential containers have failed their health check. UNKNOWN-Any essential container running within the task is in an UNKNOWN state and no other essential containers have an UNHEALTHY state. HEALTHY-All essential containers within the task have passed their health checks. Consider the following task health example with 2 containers. If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health is UNHEALTHY. If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health is UNHEALTHY. If Container1 is HEALTHY and Container2 is UNKNOWN, the task health is UNKNOWN. If Container1 is HEALTHY and Container2 is HEALTHY, the task health is HEALTHY. Consider the following task health example with 3 containers. If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 is UNKNOWN, the task health is UNHEALTHY. If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 is HEALTHY, the task health is UNHEALTHY. If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 is HEALTHY, the task health is UNHEALTHY. If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is HEALTHY, the task health is UNKNOWN. If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is UNKNOWN, the task health is UNKNOWN. If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is HEALTHY, the task health is HEALTHY. If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it. When a container health check fails for a task that is part of a service, the following process occurs: The task is marked as UNHEALTHY. The unhealthy task will be stopped, and during the stopping process, it will go through the following states: DEACTIVATING - In this state, Amazon ECS performs additional steps before stopping the task. For example, for tasks that are part of services configured to use Elastic Load Balancing target groups, target groups will be deregistered in this state. STOPPING - The task is in the process of being stopped. DEPROVISIONING - Resources associated with the task are being cleaned up. STOPPED - The task has been completely stopped. After the old task stops, a new task will be launched to ensure service operation, and the new task will go through the following lifecycle: PROVISIONING - Resources required for the task are being provisioned. PENDING - The task is waiting to be placed on a container instance. ACTIVATING - In this state, Amazon ECS pulls container images, creates containers, configures task networking, registers load balancer target groups, and configures service discovery status. RUNNING - The task is running and performing its work. For more detailed information about task lifecycle states, see Task lifecycle in the Amazon Elastic Container Service Developer Guide. The following are notes about container health check support: If the Amazon ECS container agent becomes disconnected from the Amazon ECS service, this won't cause a container to transition to an UNHEALTHY status. This is by design, to ensure that containers remain running during agent restarts or temporary unavailability. The health check status is the "last heard from" response from the Amazon ECS agent, so if the container was considered HEALTHY prior to the disconnect, that status will remain until the agent reconnects and another health check occurs. There are no assumptions made about the status of the container health checks. Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent. Container health checks are supported for Fargate tasks if you're using platform version 1.1.0 or greater. For more information, see Fargate platform versions. Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer. For an example of how to specify a task definition with multiple containers where container dependency is specified, see Container dependency in the Amazon Elastic Container Service Developer Guide.

Sourcemodule HostEntryList : sig ... end
Sourcemodule LinuxParameters : sig ... end

The Linux-specific options that are applied to the container, such as Linux KernelCapabilities.

Sourcemodule MountPointList : sig ... end
Sourcemodule PortMappingList : sig ... end
Sourcemodule RepositoryCredentials : sig ... end

The repository credentials for private registry authentication.

Sourcemodule SystemControls : sig ... end
Sourcemodule UlimitList : sig ... end
Sourcemodule VersionConsistency : sig ... end
Sourcemodule VolumeFromList : sig ... end
Sourcemodule DockerVolumeConfiguration : sig ... end

This parameter is specified when you're using Docker volumes. Docker volumes are only supported when you're using the EC2 launch type. Windows containers only support the use of the local driver. To use bind mounts, specify a host instead.

Sourcemodule EFSVolumeConfiguration : sig ... end

This parameter is specified when you're using an Amazon Elastic File System file system for task storage. For more information, see Amazon EFS volumes in the Amazon Elastic Container Service Developer Guide.

This parameter is specified when you're using Amazon FSx for Windows File Server file system for task storage. For more information and the input format, see Amazon FSx for Windows File Server volumes in the Amazon Elastic Container Service Developer Guide.

Sourcemodule HostVolumeProperties : sig ... end

Details on a container instance bind mount host volume.

This parameter is specified when you're using an Amazon S3 Files file system for task storage. For more information, see Amazon S3 Files volumes in the Amazon Elastic Container Service Developer Guide. Your task definition must include a Task IAM Role. See IAM role for attaching your file system to AWS compute resources for required permissions.

Sourcemodule Attachment : sig ... end

An object representing a container instance or task attachment.

Sourcemodule Attribute : sig ... end

An attribute is a name-value pair that's associated with an Amazon ECS object. Use attributes to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.

Sourcemodule Resource : sig ... end

Describes the resources available for a container instance.

Sourcemodule Container : sig ... end

A Docker container that's part of a task.

Sourcemodule InferenceAccelerator : sig ... end

Details on an Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

Sourcemodule ContainerOverrides : sig ... end
Sourcemodule EphemeralStorage : sig ... end

The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide;. For tasks using the Fargate launch type, the task requires the following platforms: Linux platform version 1.4.0 or later. Windows platform version 1.0.0 or later.

The termination policy for the Amazon EBS volume when the task exits. For more information, see Amazon ECS volume termination policy.

Sourcemodule CanaryConfiguration : sig ... end

Configuration for a canary deployment strategy that shifts a fixed percentage of traffic to the new service revision, waits for a specified bake time, then shifts the remaining traffic. This is only valid when you run CreateService or UpdateService with deploymentController set to ECS and a deploymentConfiguration with a strategy set to CANARY.

Sourcemodule DeploymentAlarms : sig ... end

One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment. When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure. You can only use the DeploymentAlarms method to detect failures when the DeploymentController is set to ECS. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide .

Sourcemodule DeploymentCircuitBreaker : sig ... end

The deployment circuit breaker can only be used for services using the rolling update (ECS) deployment type. The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If it is turned on, a service deployment will transition to a failed state and stop launching new tasks. You can also configure Amazon ECS to roll back your service to the last completed deployment after a failure. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide. For more information about API failure reasons, see API failure reasons in the Amazon Elastic Container Service Developer Guide.

Sourcemodule DeploymentStrategy : sig ... end
Sourcemodule LinearConfiguration : sig ... end

Configuration for linear deployment strategy that shifts production traffic in equal percentage increments with configurable wait times between each step until 100% of traffic is shifted to the new service revision. This is only valid when you run CreateService or UpdateService with deploymentController set to ECS and a deploymentConfiguration with a strategy set to LINEAR.

Sourcemodule DeploymentControllerType : sig ... end
Sourcemodule Deployment : sig ... end

The details of an Amazon ECS service deployment. This is used only when a service uses the ECS deployment controller type.

Sourcemodule PlacementConstraint : sig ... end

An object representing a constraint on task placement. For more information, see Task placement constraints in the Amazon Elastic Container Service Developer Guide. If you're using the Fargate launch type, task placement constraints aren't supported.

Sourcemodule PlacementStrategy : sig ... end

The task placement strategy for a task or service. For more information, see Task placement strategies in the Amazon Elastic Container Service Developer Guide.

The summary of the current service revision configuration

Sourcemodule ServiceEvent : sig ... end

The details for an event that's associated with a service.

Sourcemodule TaskSet : sig ... end

Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic.

Sourcemodule ContainerImage : sig ... end

The details about the container image a service revision uses. To ensure that all tasks in a service use the same container image, Amazon ECS resolves container image names and any image tags specified in the task definition to container image digests. After the container image digest has been established, Amazon ECS uses the digest to start any other desired tasks, and for any future service and service revision updates. This leads to all tasks in a service always running identical container images, resulting in version consistency for your software. For more information, see Container image resolution in the Amazon ECS Developer Guide.

Sourcemodule ManagedAutoScaling : sig ... end

The auto scaling configuration created by Amazon ECS for an Express service.

Sourcemodule ManagedIngressPaths : sig ... end
Sourcemodule ManagedLogGroups : sig ... end
Sourcemodule ManagedMetricAlarms : sig ... end
Sourcemodule ServiceRevisionSummary : sig ... end

The information about the number of requested, pending, and running tasks for a service revision.

Sourcemodule ExpressGatewayContainer : sig ... end

Defines the configuration for the primary container in an Express service. This container receives traffic from the Application Load Balancer and runs your application code. The container configuration includes the container image, port mapping, logging settings, environment variables, and secrets. The container image is the only required parameter, with sensible defaults provided for other settings.

Defines the auto-scaling configuration for an Express service. This determines how the service automatically adjusts the number of running tasks based on demand metrics such as CPU utilization, memory utilization, or request count per target. Auto-scaling helps ensure your application can handle varying levels of traffic while optimizing costs by scaling down during low-demand periods. You can specify the minimum and maximum number of tasks, the scaling metric, and the target value for that metric.

The network configuration for an Express service. By default, an Express service utilizes subnets and security groups associated with the default VPC.

Sourcemodule IngressPathSummaries : sig ... end
Sourcemodule DaemonLinuxParameters : sig ... end

The Linux-specific options that are applied to the daemon container, such as Linux kernel capabilities.

Sourcemodule DaemonContainerImage : sig ... end

The details about the container image a daemon revision uses.

Sourcemodule DaemonAlarmConfiguration : sig ... end

The CloudWatch alarm configuration for a daemon. When enabled, CloudWatch alarms determine whether a daemon deployment has failed.

Sourcemodule DaemonDrainPercent : sig ... end

Details about a daemon revision during a deployment, including running and draining instance counts per capacity provider.

The details of the execute command configuration.

The managed storage configuration for the cluster.

Sourcemodule ClusterSetting : sig ... end

The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights with enhanced observability or CloudWatch Container Insights for a cluster. Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up. For more information, see Monitor Amazon ECS containers using Container Insights with enhanced observability in the Amazon Elastic Container Service Developer Guide.

Sourcemodule ManagedDraining : sig ... end
Sourcemodule ManagedScaling : sig ... end

The managed scaling settings for the Auto Scaling group capacity provider. When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out actions of the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS managed CloudWatch metric with the specified targetCapacity value as the target value for the metric. For more information, see Using managed scaling in the Amazon Elastic Container Service Developer Guide. If managed scaling is off, the user must manage the scaling of the Auto Scaling group.

Sourcemodule AutoRepairConfiguration : sig ... end

The auto repair configuration for an Amazon ECS Managed Instances capacity provider. When enabled, Amazon ECS automatically replaces container instances that are detected as unhealthy based on container instance health checks, including accelerated compute device and daemon health checks.

The configuration that controls how Amazon ECS optimizes your infrastructure.

Sourcemodule InstanceLaunchTemplate : sig ... end

The launch template configuration for Amazon ECS Managed Instances. This defines how Amazon ECS launches Amazon EC2 instances, including the instance profile for your tasks, network and storage configuration, capacity options, and instance requirements for flexible instance type selection.

Sourcemodule PropagateMITags : sig ... end
Sourcemodule Compatibility : sig ... end
Sourcemodule ContainerDefinition : sig ... end

Container definitions are used in task definitions to describe the different containers that are launched as part of a task.

Sourcemodule ProxyConfigurationType : sig ... end
Sourcemodule CPUArchitecture : sig ... end
Sourcemodule OSFamily : sig ... end

The constraint on task placement in the task definition. For more information, see Task placement constraints in the Amazon Elastic Container Service Developer Guide. Task placement constraints aren't supported for tasks run on Fargate.

Sourcemodule Volume : sig ... end

The data volume configuration for tasks launched using this task definition. Specifying a volume configuration in a task definition is optional. The volume configuration may contain multiple volumes but only one volume configured at launch is supported. Each volume defined in the volume configuration may only specify a name and one of either configuredAtLaunch, dockerVolumeConfiguration, efsVolumeConfiguration, s3filesVolumeConfiguration, fsxWindowsFileServerVolumeConfiguration, or host. If an empty volume configuration is specified, by default Amazon ECS uses a host volume. For more information, see Using data volumes in tasks.

Sourcemodule AgentUpdateStatus : sig ... end
Sourcemodule Attachments : sig ... end
Sourcemodule Attributes : sig ... end

An object representing the health status of the container instance.

Sourcemodule Resources : sig ... end
Sourcemodule VersionInfo : sig ... end

The Docker and Amazon ECS container agent version information about a container instance.

Sourcemodule Connectivity : sig ... end
Sourcemodule Containers : sig ... end
Sourcemodule InferenceAccelerators : sig ... end
Sourcemodule TaskEphemeralStorage : sig ... end

The amount of ephemeral storage to allocate for the task.

Sourcemodule TaskOverride : sig ... end

The overrides that are associated with a task.

Sourcemodule TaskStopCode : sig ... end

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task.

Sourcemodule PlatformDeviceType : sig ... end
Sourcemodule ServiceDeploymentStatus : sig ... end
Sourcemodule DaemonStatus : sig ... end
Sourcemodule DaemonDeploymentStatus : sig ... end
Sourcemodule SettingName : sig ... end
Sourcemodule SettingType : sig ... end
Sourcemodule DeploymentConfiguration : sig ... end

Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.

Sourcemodule DeploymentController : sig ... end

The deployment controller to use for the service.

Sourcemodule Deployments : sig ... end
Sourcemodule PlacementConstraints : sig ... end
Sourcemodule PlacementStrategies : sig ... end
Sourcemodule ResourceManagementType : sig ... end
Sourcemodule SchedulingStrategy : sig ... end
Sourcemodule ServiceEvents : sig ... end
Sourcemodule TaskSets : sig ... end
Sourcemodule ContainerImages : sig ... end
Sourcemodule ECSManagedResources : sig ... end

Represents the Amazon Web Services resources managed by Amazon ECS for an Express service, including ingress paths, auto-scaling policies, metric alarms, and security groups.

Sourcemodule ResolvedConfiguration : sig ... end

The resolved configuration for a service revision, which contains the actual resources your service revision uses, such as which target groups serve traffic.

Sourcemodule Rollback : sig ... end

Information about the service deployment rollback.

Sourcemodule ServiceDeploymentAlarms : sig ... end

The CloudWatch alarms used to determine a service deployment failed. Amazon ECS considers the service deployment as failed when any of the alarms move to the ALARM state. For more information, see How CloudWatch alarms detect Amazon ECS deployment failures in the Amazon ECS Developer Guide.

Information about the circuit breaker used to determine when a service deployment has failed. The deployment circuit breaker is the rolling update mechanism that determines if the tasks reach a steady state. The deployment circuit breaker has an option that will automatically roll back a failed deployment to the last cpompleted service revision. For more information, see How the Amazon ECS deployment circuit breaker detects failures in the Amazon ECS Developer Guide.

Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision.

Sourcemodule DaemonContainerDefinition : sig ... end

A container definition for a daemon task. Daemon container definitions describe the containers that run as part of a daemon task on container instances managed by capacity providers.

Sourcemodule DaemonVolume : sig ... end

A data volume definition for a daemon task.

Sourcemodule DaemonContainerImages : sig ... end
Sourcemodule DaemonPropagateTags : sig ... end
Sourcemodule DaemonRevisionDetail : sig ... end

Details about a daemon revision, including the running task counts per capacity provider.

Sourcemodule DaemonCircuitBreaker : sig ... end

Information about the circuit breaker used to determine when a daemon deployment has failed.

Sourcemodule DaemonDeploymentAlarms : sig ... end

The CloudWatch alarms used to determine a daemon deployment failed.

Optional deployment parameters that control how a daemon rolls out updates across container instances.

Sourcemodule DaemonRollback : sig ... end

Information about a daemon deployment rollback.

Sourcemodule ClusterConfiguration : sig ... end

The execute command and managed storage configuration for the cluster.

Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

Sourcemodule ClusterSettings : sig ... end
Sourcemodule Statistics : sig ... end
Sourcemodule AutoScalingGroupProvider : sig ... end

The details of the Auto Scaling group for the capacity provider.

Sourcemodule CapacityProviderStatus : sig ... end
Sourcemodule CapacityProviderType : sig ... end
Sourcemodule ManagedInstancesProvider : sig ... end

The configuration for a Amazon ECS Managed Instances provider. Amazon ECS uses this configuration to automatically launch, manage, and terminate Amazon EC2 instances on your behalf. Managed instances provide access to the full range of Amazon EC2 instance types and features while offloading infrastructure management to Amazon Web Services.

Sourcemodule CompatibilityList : sig ... end
Sourcemodule ContainerDefinitions : sig ... end
Sourcemodule IpcMode : sig ... end
Sourcemodule NetworkMode : sig ... end
Sourcemodule PidMode : sig ... end
Sourcemodule ProxyConfiguration : sig ... end

The configuration details for the App Mesh proxy. For tasks that use the EC2 launch type, the container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the ecs-init package to use a proxy configuration. If your container instances are launched from the Amazon ECS optimized AMI version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI

Sourcemodule RequiresAttributes : sig ... end
Sourcemodule RuntimePlatform : sig ... end

Information about the platform for the Amazon ECS service or task. For more information about RuntimePlatform, see RuntimePlatform in the Amazon Elastic Container Service Developer Guide.

Sourcemodule TaskDefinitionStatus : sig ... end
Sourcemodule VolumeList : sig ... end
Sourcemodule Failure : sig ... end

A failed resource. For a list of common causes, see API failure reasons in the Amazon Elastic Container Service Developer Guide.

Sourcemodule ProtectedTask : sig ... end

An object representing the protection status details for a task. You can set the protection status with the UpdateTaskProtection API and get the status of tasks with the GetTaskProtection API.

An object that defines the status of Express service creation and information about the status of the service.

Sourcemodule ContainerInstance : sig ... end

An Amazon EC2 or External instance that's running the Amazon ECS agent and has been registered with a cluster.

The updated launch template configuration for Amazon ECS Managed Instances. You can modify the instance profile, network configuration, storage settings, and instance requirements. Changes apply to new instances launched after the update. For more information, see Store instance launch parameters in Amazon EC2 launch templates in the Amazon EC2 User Guide.

Sourcemodule AttachmentStateChange : sig ... end

An object representing a change in state for a task attachment.

Sourcemodule ContainerStateChange : sig ... end

An object that represents a change in state for a container.

Sourcemodule ManagedAgentStateChange : sig ... end

An object representing a change in state for a managed agent.

Sourcemodule ResourceIds : sig ... end
Sourcemodule Task : sig ... end

Details on a task in a cluster.

Sourcemodule TaskVolumeConfiguration : sig ... end

Configuration settings for the task volume that was configuredAtLaunch that weren't set during RegisterTaskDef.

Sourcemodule PlatformDevice : sig ... end

The devices that are available on the container instance. The only supported device type is a GPU.

Sourcemodule ServiceDeploymentBrief : sig ... end

The service deployment properties that are retured when you call ListServiceDeployments. This provides a high-level overview of the service deployment.

Sourcemodule DaemonSummary : sig ... end

A summary of a daemon.

A summary of a daemon task definition.

Sourcemodule DaemonDeploymentSummary : sig ... end

A summary of a daemon deployment.

Sourcemodule Setting : sig ... end

The current account setting for a resource.

Sourcemodule SensitiveString : sig ... end
Sourcemodule TaskField : sig ... end
Sourcemodule TaskSetField : sig ... end
Sourcemodule TaskDefinitionField : sig ... end
Sourcemodule Service : sig ... end

Details on a service within a cluster.

Sourcemodule ServiceField : sig ... end
Sourcemodule ServiceRevision : sig ... end

Information about the service revision. A service revision contains a record of the workload configuration Amazon ECS is attempting to deploy. Whenever you create or deploy a service, Amazon ECS automatically creates and captures the configuration that you're trying to deploy in the service revision. For information about service revisions, see Amazon ECS service revisions in the Amazon Elastic Container Service Developer Guide .

Sourcemodule ServiceDeployment : sig ... end

Information about the service deployment. Service deployments provide a comprehensive view of your deployments. For information about service deployments, see View service history using Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide .

Sourcemodule DaemonVolumeList : sig ... end
Sourcemodule DaemonRevision : sig ... end

Information about a daemon revision. A daemon revision is a snapshot of the daemon's configuration at the time a deployment was initiated.

Sourcemodule DaemonRevisionDetailList : sig ... end
Sourcemodule DaemonDeployment : sig ... end

Information about a daemon deployment. A daemon deployment orchestrates the progressive rollout of daemon task updates across container instances.

Sourcemodule ContainerInstanceField : sig ... end
Sourcemodule Cluster : sig ... end

A regional grouping of one or more container instances where you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.

Sourcemodule ClusterField : sig ... end
Sourcemodule CapacityProvider : sig ... end

The details for a capacity provider.

Sourcemodule CapacityProviderField : sig ... end
Sourcemodule TaskDefinition : sig ... end

The details of a task definition which describes the container and volume definitions of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.

Sourcemodule AccessDeniedException : sig ... end

You don't have authorization to perform the requested action.

Sourcemodule ClientException : sig ... end

These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.

Sourcemodule ClusterNotFoundException : sig ... end

The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

Sourcemodule InvalidParameterException : sig ... end

The specified parameter isn't valid. Review the available parameters for the API request. For more information about service event errors, see Amazon ECS service event messages.

Sourcemodule LimitExceededException : sig ... end

The limit for the resource was exceeded.

Sourcemodule ServerException : sig ... end

These errors are usually caused by a server issue.

Sourcemodule ServiceNotActiveException : sig ... end

The specified service isn't active. You can't update a service that's inactive. If you have previously deleted a service, you can re-create it with CreateService.

Sourcemodule ServiceNotFoundException : sig ... end

The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region specific.

Sourcemodule TaskSetNotFoundException : sig ... end

The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and Region.

The specified task isn't supported in this Region.

Sourcemodule Failures : sig ... end
Sourcemodule ProtectedTasks : sig ... end
Sourcemodule ResourceNotFoundException : sig ... end

The specified resource wasn't found.

The specified namespace wasn't found.

The specified platform version doesn't satisfy the required capabilities of the task definition.

Sourcemodule PlatformUnknownException : sig ... end

The specified platform version doesn't exist.

An object that describes an Express service to be updated.

Sourcemodule DaemonNotActiveException : sig ... end

The specified daemon isn't active. You can't update a daemon that's inactive. If you have previously deleted a daemon, you can re-create it with CreateDaemon.

Sourcemodule DaemonNotFoundException : sig ... end

The specified daemon wasn't found. You can view your available daemons with ListDaemons. Amazon ECS daemons are cluster specific and Region specific.

Sourcemodule ContainerInstances : sig ... end
Sourcemodule ContainerInstanceStatus : sig ... end
Sourcemodule MissingVersionException : sig ... end

Amazon ECS can't determine the current version of the Amazon ECS container agent on the container instance and doesn't have enough information to proceed with an update. This could be because the agent running on the container instance is a previous or custom version that doesn't use our version information.

There's no update available for this Amazon ECS container agent. This might be because the agent is already running the latest version or because it's so old that there's no update path to the current version.

Sourcemodule UpdateInProgressException : sig ... end

There's already a current Amazon ECS container agent update in progress on the container instance that's specified. If the container agent becomes disconnected while it's in a transitional stage, such as PENDING or STAGING, the update process can get stuck in that state. However, when the agent reconnects, it resumes where it stopped previously.

Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

The details of the Auto Scaling group capacity provider to update.

The updated configuration for a Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes apply to new instances launched after the update.

Sourcemodule TagKeys : sig ... end
Sourcemodule AttachmentStateChanges : sig ... end
Sourcemodule ContainerStateChanges : sig ... end
Sourcemodule ManagedAgentStateChanges : sig ... end
Sourcemodule ConflictException : sig ... end

The request could not be processed because of conflict in the current state of the resource.

The service deploy ARN that you specified in the StopServiceDeployment doesn't exist. You can use ListServiceDeployments to retrieve the service deployment ARNs.

Sourcemodule Tasks : sig ... end
Sourcemodule TaskVolumeConfigurations : sig ... end
Sourcemodule BlockedException : sig ... end

Your Amazon Web Services account was blocked. For more information, contact Amazon Web Services Support.

Sourcemodule PlatformDevices : sig ... end
Sourcemodule ResourceInUseException : sig ... end

The specified resource is in-use and can't be removed.

You can apply up to 10 custom attributes for each resource. You can view the attributes of a resource with ListAttributes. You can remove existing attributes on a resource with DeleteAttributes.

Sourcemodule TargetNotFoundException : sig ... end

The specified target wasn't found. You can view your available container instances with ListContainerInstances. Amazon ECS container instances are cluster-specific and Region-specific.

Sourcemodule DesiredStatus : sig ... end
Sourcemodule SortOrder : sig ... end
Sourcemodule ServiceDeploymentsBrief : sig ... end
Sourcemodule CreatedAt : sig ... end

The optional filter to narrow the ListServiceDeployment results. If you do not specify a value, service deployments that were created before the current time are included in the result.

Sourcemodule DaemonSummariesList : sig ... end
Sourcemodule Settings : sig ... end
Sourcemodule Session : sig ... end

The details for the execute command session.

The execute command cannot run. This error can be caused by any of the following configuration issues: Incorrect IAM permissions The SSM agent is not installed or is not running There is an interface Amazon VPC endpoint for Amazon ECS, but there is not one for Systems Manager Session Manager For information about how to troubleshoot the issues, see Troubleshooting issues with ECS Exec in the Amazon Elastic Container Service Developer Guide.

Sourcemodule TaskFieldList : sig ... end
Sourcemodule TaskSetFieldList : sig ... end
Sourcemodule TaskDefinitionFieldList : sig ... end
Sourcemodule Services : sig ... end
Sourcemodule ServiceFieldList : sig ... end
Sourcemodule ServiceRevisions : sig ... end
Sourcemodule ServiceDeployments : sig ... end
Sourcemodule ECSExpressGatewayService : sig ... end

Represents an Express service, which provides a simplified way to deploy containerized web applications on Amazon ECS with managed Amazon Web Services infrastructure. An Express service automatically provisions and manages Application Load Balancers, target groups, security groups, and auto-scaling policies. Express services use a service revision architecture where each service can have multiple active configurations, enabling blue-green deployments and gradual rollouts. The service maintains a list of active configurations and manages the lifecycle of the underlying Amazon Web Services resources.

Sourcemodule DaemonTaskDefinition : sig ... end

The details of a daemon task definition. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents independently across your Amazon ECS infrastructure.

Sourcemodule DaemonRevisions : sig ... end
Sourcemodule DaemonDetail : sig ... end

The detailed information about a daemon.

Sourcemodule DaemonDeploymentList : sig ... end
Sourcemodule Clusters : sig ... end
Sourcemodule ClusterFieldList : sig ... end
Sourcemodule CapacityProviders : sig ... end
Sourcemodule CapacityProviderFieldList : sig ... end
Sourcemodule TaskDefinitionList : sig ... end

The cluster contains one or more capacity providers that prevent the requested operation. This exception occurs when you try to delete a cluster that still has active capacity providers, including Amazon ECS Managed Instances capacity providers. You must first delete all capacity providers from the cluster before you can delete the cluster itself.

You can't delete a cluster that has registered container instances. First, deregister the container instances before you can delete the cluster. For more information, see DeregisterContainerInstance.

You can't delete a cluster that contains services. First, update the service to reduce its desired task count to 0, and then delete the service. For more information, see UpdateService and DeleteService.

You can't delete a cluster that has active tasks.

The configuration for creating a Amazon ECS Managed Instances provider. This specifies how Amazon ECS should manage Amazon EC2 instances, including the infrastructure role, instance launch template, and whether to propagate tags from the capacity provider to the instances.

Sourcemodule UpdateTaskSetResponse : sig ... end

Modifies a task set. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Sourcemodule UpdateTaskSetRequest : sig ... end

Modifies a task set. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments. Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the protectionEnabled property making the task eligible for termination by a subsequent scale-in event. You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly. To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide . This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons. If you prefer to set task protection from within the container, we recommend using the Task scale-in protection endpoint.

Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments. Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the protectionEnabled property making the task eligible for termination by a subsequent scale-in event. You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly. To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide . This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons. If you prefer to set task protection from within the container, we recommend using the Task scale-in protection endpoint.

Sourcemodule UpdateServiceResponse : sig ... end
Sourcemodule UpdateServiceRequest : sig ... end

Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Updates an existing Express service configuration. Modifies container settings, resource allocation, auto-scaling configuration, and other service parameters without recreating the service. Amazon ECS creates a new service revision with updated configuration and performs a rolling deployment to replace existing tasks. The service remains available during updates, ensuring zero-downtime deployments. Some parameters like the infrastructure role cannot be modified after service creation and require creating a new service.

Updates an existing Express service configuration. Modifies container settings, resource allocation, auto-scaling configuration, and other service parameters without recreating the service. Amazon ECS creates a new service revision with updated configuration and performs a rolling deployment to replace existing tasks. The service remains available during updates, ensuring zero-downtime deployments. Some parameters like the infrastructure role cannot be modified after service creation and require creating a new service.

Sourcemodule UpdateDaemonResponse : sig ... end

Updates the specified daemon. When you update a daemon, a new deployment is triggered that progressively rolls out the changes to the container instances associated with the daemon's capacity providers. For more information, see Daemon deployments in the Amazon Elastic Container Service Developer Guide. Amazon ECS drains existing container instances and provisions new instances with the updated daemon. Amazon ECS automatically launches replacement tasks for your services. Updating a daemon triggers a rolling deployment that drains and replaces container instances. Plan updates during maintenance windows to minimize impact on running services. ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.

Sourcemodule UpdateDaemonRequest : sig ... end

Updates the specified daemon. When you update a daemon, a new deployment is triggered that progressively rolls out the changes to the container instances associated with the daemon's capacity providers. For more information, see Daemon deployments in the Amazon Elastic Container Service Developer Guide. Amazon ECS drains existing container instances and provisions new instances with the updated daemon. Amazon ECS automatically launches replacement tasks for your services. Updating a daemon triggers a rolling deployment that drains and replaces container instances. Plan updates during maintenance windows to minimize impact on running services. ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.

Modifies the settings to use for a cluster.

Modifies the settings to use for a cluster.

Sourcemodule UpdateClusterResponse : sig ... end

Updates the cluster.

Sourcemodule UpdateClusterRequest : sig ... end

Updates the cluster.

Modifies the parameters for a capacity provider. These changes only apply to new Amazon ECS Managed Instances, or EC2 instances, not existing ones.

Modifies the parameters for a capacity provider. These changes only apply to new Amazon ECS Managed Instances, or EC2 instances, not existing ones.

Sourcemodule UntagResourceResponse : sig ... end

Deletes specified tags from a resource.

Sourcemodule UntagResourceRequest : sig ... end

Deletes specified tags from a resource.

Sourcemodule TagResourceResponse : sig ... end

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well.

Sourcemodule TagResourceRequest : sig ... end

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well.

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent. Sent to acknowledge that an attachment changed states.

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent. Sent to acknowledge that an attachment changed states.

Sourcemodule StopTaskResponse : sig ... end
Sourcemodule StopTaskRequest : sig ... end

Stops an ongoing service deployment. The following stop types are avaiable: ROLLBACK - This option rolls back the service deployment to the previous service revision. You can use this option even if you didn't configure the service deployment for the rollback option. For more information, see Stopping Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide.

Stops an ongoing service deployment. The following stop types are avaiable: ROLLBACK - This option rolls back the service deployment to the previous service revision. You can use this option even if you didn't configure the service deployment for the rollback option. For more information, see Stopping Amazon ECS service deployments in the Amazon Elastic Container Service Developer Guide.

Sourcemodule StartTaskResponse : sig ... end
Sourcemodule StartTaskRequest : sig ... end
Sourcemodule RunTaskResponse : sig ... end
Sourcemodule RunTaskRequest : sig ... end

Registers a new daemon task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information, see Daemon task definitions in the Amazon Elastic Container Service Developer Guide. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents such as security monitoring, telemetry, and logging across your Amazon ECS infrastructure. Each time you call RegisterDaemonTaskDefinition, a new revision of the daemon task definition is created. You can't modify a revision after you register it.

Registers a new daemon task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information, see Daemon task definitions in the Amazon Elastic Container Service Developer Guide. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents such as security monitoring, telemetry, and logging across your Amazon ECS infrastructure. Each time you call RegisterDaemonTaskDefinition, a new revision of the daemon task definition is created. You can't modify a revision after you register it.

Modifies the available capacity providers and the default capacity provider strategy for a cluster. You must specify both the available capacity providers and a default capacity provider strategy for the cluster. If the specified cluster has existing capacity providers associated with it, you must specify all existing capacity providers in addition to any new ones you want to add. Any existing capacity providers that are associated with a cluster that are omitted from a PutClusterCapacityProviders API call will be disassociated with the cluster. You can only disassociate an existing capacity provider from a cluster if it's not being used by any existing tasks. When creating a service or running a task on a cluster, if no capacity provider or launch type is specified, then the cluster's default capacity provider strategy is used. We recommend that you define a default capacity provider strategy for your cluster. However, you must specify an empty array ([]) to bypass defining a default strategy. Amazon ECS Managed Instances doesn't support this, because when you create a capacity provider with Amazon ECS Managed Instances, it becomes available only within the specified cluster.

Modifies the available capacity providers and the default capacity provider strategy for a cluster. You must specify both the available capacity providers and a default capacity provider strategy for the cluster. If the specified cluster has existing capacity providers associated with it, you must specify all existing capacity providers in addition to any new ones you want to add. Any existing capacity providers that are associated with a cluster that are omitted from a PutClusterCapacityProviders API call will be disassociated with the cluster. You can only disassociate an existing capacity provider from a cluster if it's not being used by any existing tasks. When creating a service or running a task on a cluster, if no capacity provider or launch type is specified, then the cluster's default capacity provider strategy is used. We recommend that you define a default capacity provider strategy for your cluster. However, you must specify an empty array ([]) to bypass defining a default strategy. Amazon ECS Managed Instances doesn't support this, because when you create a capacity provider with Amazon ECS Managed Instances, it becomes available only within the specified cluster.

Sourcemodule PutAttributesResponse : sig ... end
Sourcemodule PutAttributesRequest : sig ... end
Sourcemodule PutAccountSettingResponse : sig ... end

Modifies an account setting. Account settings are set on a per-Region basis. If you change the root user account setting, the default settings are reset for users and roles that do not have specified individual account settings. For more information, see Account Settings in the Amazon Elastic Container Service Developer Guide.

Sourcemodule PutAccountSettingRequest : sig ... end

Modifies an account setting. Account settings are set on a per-Region basis. If you change the root user account setting, the default settings are reset for users and roles that do not have specified individual account settings. For more information, see Account Settings in the Amazon Elastic Container Service Developer Guide.

Modifies an account setting for all users on an account for whom no individual account setting has been specified. Account settings are set on a per-Region basis.

Modifies an account setting for all users on an account for whom no individual account setting has been specified. Account settings are set on a per-Region basis.

Sourcemodule ListTasksResponse : sig ... end
Sourcemodule ListTasksRequest : sig ... end

List the tags for an Amazon ECS resource.

List the tags for an Amazon ECS resource.

Sourcemodule ListServicesResponse : sig ... end
Sourcemodule ListServicesRequest : sig ... end

This operation lists all of the services that are associated with a Cloud Map namespace. This list might include services in different clusters. In contrast, ListServices can only list services in one cluster at a time. If you need to filter the list of services in a single cluster by various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

This operation lists all of the services that are associated with a Cloud Map namespace. This list might include services in different clusters. In contrast, ListServices can only list services in one cluster at a time. If you need to filter the list of services in a single cluster by various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

This operation lists all the service deployments that meet the specified filter criteria. A service deployment happens when you release a software update for the service. You route traffic from the running service revisions to the new service revison and control the number of running tasks. This API returns the values that you use for the request parameters in DescribeServiceRevisions.

This operation lists all the service deployments that meet the specified filter criteria. A service deployment happens when you release a software update for the service. You route traffic from the running service revisions to the new service revison and control the number of running tasks. This API returns the values that you use for the request parameters in DescribeServiceRevisions.

Sourcemodule ListDaemonsResponse : sig ... end

Returns a list of daemons. You can filter the results by cluster or capacity provider.

Sourcemodule ListDaemonsRequest : sig ... end

Returns a list of daemons. You can filter the results by cluster or capacity provider.

Returns a list of daemon task definitions that are registered to your account. You can filter the results by family name, status, or both to find daemon task definitions that match your criteria.

Returns a list of daemon task definitions that are registered to your account. You can filter the results by family name, status, or both to find daemon task definitions that match your criteria.

Returns a list of daemon deployments for a specified daemon. You can filter the results by status or creation time.

Returns a list of daemon deployments for a specified daemon. You can filter the results by status or creation time.

Sourcemodule ListClustersResponse : sig ... end
Sourcemodule ListClustersRequest : sig ... end
Sourcemodule ListAttributesResponse : sig ... end
Sourcemodule ListAttributesRequest : sig ... end

Lists the attributes for Amazon ECS resources within a specified target type and cluster. When you specify a target type and cluster, ListAttributes returns a list of attribute objects, one for each attribute on each resource. You can filter the list of results to a single attribute name to only return results that have that name. You can also filter the results by attribute name and value. You can do this, for example, to see which container instances in a cluster are running a Linux AMI (ecs.os-type=linux).

Lists the account settings for a specified principal.

Lists the account settings for a specified principal.

Sourcemodule GetTaskProtectionResponse : sig ... end

Retrieves the protection status of tasks in an Amazon ECS service.

Sourcemodule GetTaskProtectionRequest : sig ... end

Retrieves the protection status of tasks in an Amazon ECS service.

Sourcemodule ExecuteCommandResponse : sig ... end

Runs a command remotely on a container within a task. If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you receive an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value. For information about required permissions and considerations, see Using Amazon ECS Exec for debugging in the Amazon ECS Developer Guide.

Sourcemodule ExecuteCommandRequest : sig ... end

Runs a command remotely on a container within a task. If you use a condition key in your IAM policy to refine the conditions for the policy statement, for example limit the actions to a specific cluster, you receive an AccessDeniedException when there is a mismatch between the condition key value and the corresponding parameter value. For information about required permissions and considerations, see Using Amazon ECS Exec for debugging in the Amazon ECS Developer Guide.

Sourcemodule DescribeTasksResponse : sig ... end
Sourcemodule DescribeTasksRequest : sig ... end
Sourcemodule DescribeTaskSetsResponse : sig ... end

Describes the task sets in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Sourcemodule DescribeTaskSetsRequest : sig ... end

Describes the task sets in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Sourcemodule DescribeServicesResponse : sig ... end
Sourcemodule DescribeServicesRequest : sig ... end

Describes one or more service revisions. A service revision is a version of the service that includes the values for the Amazon ECS resources (for example, task definition) and the environment resources (for example, load balancers, subnets, and security groups). For more information, see Amazon ECS service revisions. You can't describe a service revision that was created before October 25, 2024.

Describes one or more service revisions. A service revision is a version of the service that includes the values for the Amazon ECS resources (for example, task definition) and the environment resources (for example, load balancers, subnets, and security groups). For more information, see Amazon ECS service revisions. You can't describe a service revision that was created before October 25, 2024.

Describes one or more of your service deployments. A service deployment happens when you release a software update for the service. For more information, see View service history using Amazon ECS service deployments.

Describes one or more of your service deployments. A service deployment happens when you release a software update for the service. For more information, see View service history using Amazon ECS service deployments.

Retrieves detailed information about an Express service, including current status, configuration, managed infrastructure, and service revisions. Returns comprehensive service details, active service revisions, ingress paths with endpoints, and managed Amazon Web Services resource status including load balancers and auto-scaling policies. Use the include parameter to retrieve additional information such as resource tags.

Retrieves detailed information about an Express service, including current status, configuration, managed infrastructure, and service revisions. Returns comprehensive service details, active service revisions, ingress paths with endpoints, and managed Amazon Web Services resource status including load balancers and auto-scaling policies. Use the include parameter to retrieve additional information such as resource tags.

Describes a daemon task definition. You can specify a family and revision to find information about a specific daemon task definition, or you can simply specify the family to find the latest ACTIVE revision in that family.

Describes a daemon task definition. You can specify a family and revision to find information about a specific daemon task definition, or you can simply specify the family to find the latest ACTIVE revision in that family.

Describes one or more of your daemon revisions. A daemon revision is a snapshot of a daemon's configuration at the time a deployment was initiated. It captures the daemon task definition, container images, tag propagation, and execute command settings. Daemon revisions are immutable.

Describes one or more of your daemon revisions. A daemon revision is a snapshot of a daemon's configuration at the time a deployment was initiated. It captures the daemon task definition, container images, tag propagation, and execute command settings. Daemon revisions are immutable.

Sourcemodule DescribeDaemonResponse : sig ... end

Describes the specified daemon.

Sourcemodule DescribeDaemonRequest : sig ... end

Describes the specified daemon.

Describes one or more of your daemon deployments. A daemon deployment orchestrates the progressive rollout of daemon task updates across container instances managed by the daemon's capacity providers. Each deployment includes circuit breaker and alarm-based rollback capabilities.

Describes one or more of your daemon deployments. A daemon deployment orchestrates the progressive rollout of daemon task updates across container instances managed by the daemon's capacity providers. Each deployment includes circuit breaker and alarm-based rollback capabilities.

Sourcemodule DescribeClustersResponse : sig ... end
Sourcemodule DescribeClustersRequest : sig ... end

Describes one or more of your capacity providers.

Describes one or more of your capacity providers.

Sourcemodule DeleteTaskSetResponse : sig ... end

Deletes a specified task set within a service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

Sourcemodule DeleteTaskSetRequest : sig ... end

Deletes a specified task set within a service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

Deletes one or more task definitions. You must deregister a task definition revision before you delete it. For more information, see DeregisterTaskDefinition. When you delete a task definition revision, it is immediately transitions from the INACTIVE to DELETE_IN_PROGRESS. Existing tasks and services that reference a DELETE_IN_PROGRESS task definition revision continue to run without disruption. Existing services that reference a DELETE_IN_PROGRESS task definition revision can still scale up or down by modifying the service's desired count. You can't use a DELETE_IN_PROGRESS task definition revision to run new tasks or create new services. You also can't update an existing service to reference a DELETE_IN_PROGRESS task definition revision. A task definition revision will stay in DELETE_IN_PROGRESS status until all the associated tasks and services have been terminated. When you delete all INACTIVE task definition revisions, the task definition name is not displayed in the console and not returned in the API. If a task definition revisions are in the DELETE_IN_PROGRESS state, the task definition name is displayed in the console and returned in the API. The task definition name is retained by Amazon ECS and the revision is incremented the next time you create a task definition with that name.

Deletes one or more task definitions. You must deregister a task definition revision before you delete it. For more information, see DeregisterTaskDefinition. When you delete a task definition revision, it is immediately transitions from the INACTIVE to DELETE_IN_PROGRESS. Existing tasks and services that reference a DELETE_IN_PROGRESS task definition revision continue to run without disruption. Existing services that reference a DELETE_IN_PROGRESS task definition revision can still scale up or down by modifying the service's desired count. You can't use a DELETE_IN_PROGRESS task definition revision to run new tasks or create new services. You also can't update an existing service to reference a DELETE_IN_PROGRESS task definition revision. A task definition revision will stay in DELETE_IN_PROGRESS status until all the associated tasks and services have been terminated. When you delete all INACTIVE task definition revisions, the task definition name is not displayed in the console and not returned in the API. If a task definition revisions are in the DELETE_IN_PROGRESS state, the task definition name is displayed in the console and returned in the API. The task definition name is retained by Amazon ECS and the revision is incremented the next time you create a task definition with that name.

Sourcemodule DeleteServiceResponse : sig ... end
Sourcemodule DeleteServiceRequest : sig ... end

Deletes an Express service and removes all associated Amazon Web Services resources. This operation stops service tasks, removes the Application Load Balancer, target groups, security groups, auto-scaling policies, and other managed infrastructure components. The service enters a DRAINING state where existing tasks complete current requests without starting new tasks. After all tasks stop, the service and infrastructure are permanently removed. This operation cannot be reversed. Back up important data and verify the service is no longer needed before deletion.

Deletes an Express service and removes all associated Amazon Web Services resources. This operation stops service tasks, removes the Application Load Balancer, target groups, security groups, auto-scaling policies, and other managed infrastructure components. The service enters a DRAINING state where existing tasks complete current requests without starting new tasks. After all tasks stop, the service and infrastructure are permanently removed. This operation cannot be reversed. Back up important data and verify the service is no longer needed before deletion.

Deletes the specified daemon task definition. After a daemon task definition is deleted, no new daemons can be created using this definition. Existing daemons that reference the deleted daemon task definition continue to run. A daemon task definition must be in an ACTIVE state to be deleted.

Deletes the specified daemon task definition. After a daemon task definition is deleted, no new daemons can be created using this definition. Existing daemons that reference the deleted daemon task definition continue to run. A daemon task definition must be in an ACTIVE state to be deleted.

Sourcemodule DeleteDaemonResponse : sig ... end

Deletes the specified daemon. The daemon must be in an ACTIVE state to be deleted. Deleting a daemon stops all running daemon tasks on the associated container instances. Amazon ECS drains existing container instances and provisions new instances without the deleted daemon. Amazon ECS automatically launches replacement tasks for your Amazon ECS services. ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.

Sourcemodule DeleteDaemonRequest : sig ... end

Deletes the specified daemon. The daemon must be in an ACTIVE state to be deleted. Deleting a daemon stops all running daemon tasks on the associated container instances. Amazon ECS drains existing container instances and provisions new instances without the deleted daemon. Amazon ECS automatically launches replacement tasks for your Amazon ECS services. ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.

Sourcemodule DeleteClusterResponse : sig ... end
Sourcemodule DeleteClusterRequest : sig ... end

Deletes the specified capacity provider. The FARGATE and FARGATE_SPOT capacity providers are reserved and can't be deleted. You can disassociate them from a cluster using either PutClusterCapacityProviders or by deleting the cluster. Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity provider strategy from all services. The UpdateService API can be used to remove a capacity provider from a service's capacity provider strategy. When updating a service, the forceNewDeployment option can be used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity provider are transitioned to use the capacity from the remaining capacity providers. Only capacity providers that aren't associated with a cluster can be deleted. To remove a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

Deletes the specified capacity provider. The FARGATE and FARGATE_SPOT capacity providers are reserved and can't be deleted. You can disassociate them from a cluster using either PutClusterCapacityProviders or by deleting the cluster. Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity provider strategy from all services. The UpdateService API can be used to remove a capacity provider from a service's capacity provider strategy. When updating a service, the forceNewDeployment option can be used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity provider are transitioned to use the capacity from the remaining capacity providers. Only capacity providers that aren't associated with a cluster can be deleted. To remove a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

Sourcemodule DeleteAttributesResponse : sig ... end
Sourcemodule DeleteAttributesRequest : sig ... end

Disables an account setting for a specified user, role, or the root user for an account.

Disables an account setting for a specified user, role, or the root user for an account.

Sourcemodule CreateTaskSetResponse : sig ... end

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide. On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition. For information about the maximum number of task sets and other quotas, see Amazon ECS service quotas in the Amazon Elastic Container Service Developer Guide.

Sourcemodule CreateTaskSetRequest : sig ... end

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide. On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition. For information about the maximum number of task sets and other quotas, see Amazon ECS service quotas in the Amazon Elastic Container Service Developer Guide.

Sourcemodule CreateServiceResponse : sig ... end
Sourcemodule CreateServiceRequest : sig ... end

Creates an Express service that simplifies deploying containerized web applications on Amazon ECS with managed Amazon Web Services infrastructure. This operation provisions and configures Application Load Balancers, target groups, security groups, and auto-scaling policies automatically. Specify a primary container configuration with your application image and basic settings. Amazon ECS creates the necessary Amazon Web Services resources for traffic distribution, health monitoring, network access control, and capacity management. Provide an execution role for task operations and an infrastructure role for managing Amazon Web Services resources on your behalf.

Creates an Express service that simplifies deploying containerized web applications on Amazon ECS with managed Amazon Web Services infrastructure. This operation provisions and configures Application Load Balancers, target groups, security groups, and auto-scaling policies automatically. Specify a primary container configuration with your application image and basic settings. Amazon ECS creates the necessary Amazon Web Services resources for traffic distribution, health monitoring, network access control, and capacity management. Provide an execution role for task operations and an infrastructure role for managing Amazon Web Services resources on your behalf.

Sourcemodule CreateDaemonResponse : sig ... end

Creates a new daemon in the specified cluster and capacity providers. A daemon deploys cross-cutting software agents such as security monitoring, telemetry, and logging independently across your Amazon ECS infrastructure. Amazon ECS deploys exactly one daemon task on each container instance of the specified capacity providers. When a container instance registers with the cluster, Amazon ECS automatically starts daemon tasks. Amazon ECS starts a daemon task before scheduling other tasks. Daemons are essential for instance health - if a daemon task stops, Amazon ECS automatically drains and replaces that container instance. ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.

Sourcemodule CreateDaemonRequest : sig ... end

Creates a new daemon in the specified cluster and capacity providers. A daemon deploys cross-cutting software agents such as security monitoring, telemetry, and logging independently across your Amazon ECS infrastructure. Amazon ECS deploys exactly one daemon task on each container instance of the specified capacity providers. When a container instance registers with the cluster, Amazon ECS automatically starts daemon tasks. Amazon ECS starts a daemon task before scheduling other tasks. Daemons are essential for instance health - if a daemon task stops, Amazon ECS automatically drains and replaces that container instance. ECS Managed Daemons is only supported for Amazon ECS Managed Instances Capacity Providers.

Sourcemodule CreateClusterResponse : sig ... end
Sourcemodule CreateClusterRequest : sig ... end

Creates a capacity provider. Capacity providers are associated with a cluster and are used in capacity provider strategies to facilitate cluster auto scaling. You can create capacity providers for Amazon ECS Managed Instances and EC2 instances. Fargate has the predefined FARGATE and FARGATE_SPOT capacity providers.

Creates a capacity provider. Capacity providers are associated with a cluster and are used in capacity provider strategies to facilitate cluster auto scaling. You can create capacity providers for Amazon ECS Managed Instances and EC2 instances. Fargate has the predefined FARGATE and FARGATE_SPOT capacity providers.