Package-level declarations

Types

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
sealed class AgentUpdateStatus
Link copied to clipboard
sealed class ApplicationProtocol
Link copied to clipboard
sealed class AssignPublicIp
Link copied to clipboard

An object representing a container instance or task attachment.

Link copied to clipboard

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

Link copied to clipboard
class Attribute

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The details for a capacity provider.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
class Cluster

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.

Link copied to clipboard

The execute command and managed storage configuration for the cluster.

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
sealed class ClusterField
Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
sealed class ClusterSettingName
Link copied to clipboard
sealed class Compatibility
Link copied to clipboard

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

Link copied to clipboard
sealed class Connectivity
Link copied to clipboard
class Container

A Docker container that's part of a task.

Link copied to clipboard
sealed class ContainerCondition
Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The details about the container image a service revision uses.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

An object representing the health status of the container instance.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
sealed class CpuArchitecture
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class CreatedAt

The optional filter to narrow the ListServiceDeployment results.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The deployment circuit breaker can only be used for services using the rolling update (ECS) deployment type.

Link copied to clipboard

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

Link copied to clipboard

The deployment controller to use for the service.

Link copied to clipboard
Link copied to clipboard

The amount of ephemeral storage to allocate for the deployment.

Link copied to clipboard

A deployment lifecycle hook runs custom logic at specific stages of the deployment process. Currently, you can use Lambda functions as hook targets.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class DeploymentStrategy
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class DesiredStatus
Link copied to clipboard
class Device

An object representing a container instance host device.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
sealed class EbsResourceType
Link copied to clipboard

The tag specifications of an Amazon EBS volume.

Link copied to clipboard

Base class for all service related exceptions thrown by the Ecs client

Link copied to clipboard

The authorization configuration details for the Amazon EFS file system.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
sealed class EnvironmentFileType
Link copied to clipboard

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;.

Link copied to clipboard

The details of the execute command configuration.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Failure

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

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

The authorization configuration details for Amazon FSx for Windows File Server file system. See FSxWindowsFileServerVolumeConfiguration in the Amazon ECS API Reference.

Link copied to clipboard

This parameter is specified when you're using Amazon FSx for Windows File Server file system for task storage.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
sealed class HealthStatus
Link copied to clipboard
class HostEntry

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

Link copied to clipboard

Details on a container instance bind mount host volume.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The specified parameter isn't valid. Review the available parameters for the API request.

Link copied to clipboard
sealed class IpcMode
Link copied to clipboard

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.

Link copied to clipboard

A key-value pair object.

Link copied to clipboard
sealed class LaunchType
Link copied to clipboard

The limit for the resource was exceeded.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The load balancer configuration to use with a service or task set.

Link copied to clipboard

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.

Link copied to clipboard
sealed class LogDriver
Link copied to clipboard

Details about the managed agent status for the container.

Link copied to clipboard
sealed class ManagedAgentName
Link copied to clipboard

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

Link copied to clipboard
sealed class ManagedDraining
Link copied to clipboard

The managed scaling settings for the Auto Scaling group capacity provider.

Link copied to clipboard
Link copied to clipboard

The managed storage configuration for the cluster.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The specified namespace wasn't found.

Link copied to clipboard

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.

Link copied to clipboard

The network configuration for a task or service.

Link copied to clipboard

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

Link copied to clipboard
sealed class NetworkMode
Link copied to clipboard

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.

Link copied to clipboard
sealed class OsFamily
Link copied to clipboard
sealed class PidMode
Link copied to clipboard

An object representing a constraint on task placement. For more information, see Task placement constraints in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
sealed class PlatformDeviceType

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

Link copied to clipboard

The specified platform version doesn't exist.

Link copied to clipboard

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.

Link copied to clipboard
sealed class PropagateTags
Link copied to clipboard

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.

Link copied to clipboard

The configuration details for the App Mesh proxy.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The repository credentials for private registry authentication.

Link copied to clipboard

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

Link copied to clipboard
class Resource

Describes the resources available for a container instance.

Link copied to clipboard

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

Link copied to clipboard

The specified resource wasn't found.

Link copied to clipboard

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

Link copied to clipboard
sealed class ResourceType
Link copied to clipboard
class Rollback

Information about the service deployment rollback.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Information about the platform for the Amazon ECS service or task.

Link copied to clipboard
class Scale

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

Link copied to clipboard
sealed class ScaleUnit
Link copied to clipboard
sealed class SchedulingStrategy
Link copied to clipboard
sealed class Scope
Link copied to clipboard
class Secret

An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways:

Link copied to clipboard

These errors are usually caused by a server issue.

Link copied to clipboard
class Service

Details on a service within a cluster.

Link copied to clipboard

Each alias ("endpoint") is a fully-qualified name and port number that other tasks ("clients") can use to connect to this service.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The certificate root authority that secures your service.

Link copied to clipboard

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

Link copied to clipboard

Information about the service deployment.

Link copied to clipboard

The CloudWatch alarms used to determine a service deployment failed.

Link copied to clipboard

The service deployment properties that are retured when you call ListServiceDeployments.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
sealed class ServiceField
Link copied to clipboard

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*.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The details for the service registry.

Link copied to clipboard

Information about the service revision.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
class Session

The details for the execute command session.

Link copied to clipboard
class Setting

The current account setting for a resource.

Link copied to clipboard
sealed class SettingName
Link copied to clipboard
sealed class SettingType
Link copied to clipboard
sealed class SortOrder
Link copied to clipboard
sealed class StabilityStatus
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
class Tag

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The execute command cannot run. This error can be caused by any of the following configuration issues:

Link copied to clipboard

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.

Link copied to clipboard
sealed class TargetType
Link copied to clipboard
class Task

Details on a task in a cluster.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
sealed class TaskDefinitionField
Link copied to clipboard

The constraint on task placement in the task definition. For more information, see Task placement constraints in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
Link copied to clipboard

The amount of ephemeral storage to allocate for the task.

Link copied to clipboard
sealed class TaskField
Link copied to clipboard
sealed class TaskFilesystemType
Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The overrides that are associated with a task.

Link copied to clipboard
class TaskSet

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.

Link copied to clipboard
sealed class TaskSetField
Link copied to clipboard

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.

Link copied to clipboard
sealed class TaskStopCode
Link copied to clipboard

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

Link copied to clipboard

An object that represents the timeout configurations for Service Connect.

Link copied to clipboard
class Tmpfs

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

Link copied to clipboard
sealed class TransportProtocol
Link copied to clipboard
class Ulimit

The ulimit settings to pass to the container.

Link copied to clipboard
sealed class UlimitName
Link copied to clipboard

The specified task isn't supported in this Region.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class VersionConsistency
Link copied to clipboard

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

Link copied to clipboard
class Volume

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, 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.

Link copied to clipboard

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

Link copied to clipboard

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