Drivers ECS



Get drivers and downloads for your Dell ECS Appliance. Download and install the latest drivers, firmware and software. Get drivers and downloads for your Dell ECS Appliance. Download and install the latest drivers, firmware and software.

Ecs---

This package contains constructs for working with Amazon Elastic ContainerService (Amazon ECS).

Amazon ECS is a highly scalable, fast, container management servicethat makes it easy to run, stop,and manage Docker containers on a cluster of Amazon EC2 instances.

For further information on Amazon ECS,see the Amazon ECS documentation

The following example creates an Amazon ECS cluster,adds capacity to it,and instantiates the Amazon ECS Service with an automatic load balancer.

For a set of constructs defining common ECS architectural patterns, see the @aws-cdk/aws-ecs-patterns package.

Launch Types: AWS Fargate vs Amazon EC2

There are two sets of constructs in this library; one to run tasks on Amazon EC2 andone to run tasks on AWS Fargate.

Here are the main differences:

For more information on Amazon EC2 vs AWS Fargate and networking see the AWS Documentation:AWS Fargate andTask Networking.

Clusters

A Cluster defines the infrastructure to run yourtasks on. You can run many tasks on a single cluster.

The following code creates a cluster that can run AWS Fargate tasks:

To use tasks with Amazon EC2 launch-type, you have to add capacity tothe cluster in order for tasks to be scheduled on your instances. Typically,you add an AutoScalingGroup with instances running the latestAmazon ECS-optimized AMI to the cluster. There is a method to build and add such anAutoScalingGroup automatically, or you can supply a customized AutoScalingGroupthat you construct yourself. It's possible to add multiple AutoScalingGroupswith various instance types.

The following example creates an Amazon ECS cluster and adds capacity to it:

If you omit the property vpc, the construct will create a new VPC with two AZs.

Bottlerocket

Bottlerocket is a Linux-based open source operating system that ispurpose-built by AWS for running containers. You can launch Amazon ECS container instances with the Bottlerocket AMI.

NOTICE: The Bottlerocket AMI is in developer preview release for Amazon ECS and is subject to change.

The following example will create a capacity with self-managed Amazon EC2 capacity of 2 c5.large Linux instances running with Bottlerocket AMI.

Note that you must specify either a machineImage or machineImageType, at least one, not both.

The following example adds Bottlerocket capacity to the cluster:

Spot Instances

To add spot instances into the cluster, you must specify the spotPrice in the ecs.AddCapacityOptions and optionally enable the spotInstanceDraining property.

SNS Topic Encryption

When the ecs.AddCapacityOptions that you provide has a non-zero taskDrainTime (the default) then an SNS topic and Lambda are created to ensure that thecluster's instances have been properly drained of tasks before terminating. The SNS Topic is sent the instance-terminating lifecycle event from the AutoScalingGroup,and the Lambda acts on that event. If you wish to engage server-side encryption for this SNS Topicthen you may do so by providing a KMS key for the topicEncryptionKey propery of ecs.AddCapacityOptions.

Task definitions

A task Definition describes what a single copy of a task should look like.A task definition has one or more containers; typically, it has onemain container (the default container is the first one that's addedto the task definition, and it is marked essential) and optionallysome supporting containers which are used to support the main container,doings things like upload logs or metrics to monitoring services.

To run a task or service with Amazon EC2 launch type, use the Ec2TaskDefinition. For AWS Fargate tasks/services, use theFargateTaskDefinition. These classes provide a simplified API that only containproperties relevant for that specific launch type.

Drivers Ecs H81h3-m4 Windows 7

For a FargateTaskDefinition, specify the task size (memoryLimitMiB and cpu):

To add containers to a task definition, call addContainer():

For a Ec2TaskDefinition:

You can specify container properties when you add them to the task definition, or with various methods, e.g.:

To add data volumes to a task definition, call addVolume():

To use a TaskDefinition that can be used with either Amazon EC2 orAWS Fargate launch types, use the TaskDefinition construct.

When creating a task definition you have to specify what kind oftasks you intend to run: Amazon EC2, AWS Fargate, or both.The following example uses both:

Drivers Ecs H61h2-m12

Images

Images supply the software that runs inside the container. Images can beobtained from either DockerHub or from ECR repositories, or built directly from a local Dockerfile.

Environment variables

To pass environment variables to the container, you can use the environment, environmentFiles, and secrets props.

The task execution role is automatically granted read permissions on the secrets/parameters. Support for environmentfiles is restricted to the EC2 launch type for files hosted on S3. Further details provided in the AWS documentationabout specifying environment variables.

Service

Driver Ecs 945gct-m2

A Service instantiates a TaskDefinition on a Cluster a given number oftimes, optionally associating them with a load balancer.If a task fails,Amazon ECS automatically restarts the task.

Services by default will create a security group if not provided.If you'd like to specify which security groups to use you can override the securityGroups property.

Deployment circuit breaker and rollback

Amazon ECS deployment circuit breakerautomatically rolls back unhealthy service deployments without the need for manual intervention. Use circuitBreaker to enabledeployment circuit breaker and optionally enable rollback for automatic rollback. See Using the deployment circuit breakerfor more details.

Include an application/network load balancer

Services are load balancing targets and can be added to a target group, which will be attached to an application/network load balancers:

Note that in the example above, the default service only allows you to register the first essential container or the first mapped port on the container as a target and add it to a new target group. To have more control over which container and port to register as targets, you can use service.loadBalancerTarget() to return a load balancing target for a specific container and port.

Alternatively, you can also create all load balancer targets to be registered in this service, add them to target groups, and attach target groups to listeners accordingly.

Using a Load Balancer from a different Stack

If you want to put your Load Balancer and the Service it is load balancing to indifferent stacks, you may not be able to use the convenience methodsloadBalancer.addListener() and listener.addTargets().

The reason is that these methods will create resources in the same Stack as theobject they're called on, which may lead to cyclic references between stacks.Instead, you will have to create an ApplicationListener in the service stack,or an empty TargetGroup in the load balancer stack that you attach yourservice to.

See the ecs/cross-stack-load-balancer examplefor the alternatives.

Include a classic load balancer

Services can also be directly attached to a classic load balancer as targets:

Similarly, if you want to have more control over load balancer targeting:

There are two higher-level constructs available which include a load balancer for you that can be found in the aws-ecs-patterns module:

Task Auto-Scaling

You can configure the task count of a service to match demand. Task auto-scaling isconfigured by calling autoScaleTaskCount():

Task auto-scaling is powered by Application Auto-Scaling.See that section for details.

Instance Auto-Scaling

If you're running on AWS Fargate, AWS manages the physical machines that yourcontainers are running on for you. If you're running an Amazon ECS cluster however,your Amazon EC2 instances might fill up as your number of Tasks goes up.

To avoid placement errors, configure auto-scaling for yourAmazon EC2 instance group so that your instance count scales with demand. To keepyour Amazon EC2 instances halfway loaded, scaling up to a maximum of 30 instancesif required:

See the @aws-cdk/aws-autoscaling library for more autoscaling optionsyou can configure on your instances.

Integration with CloudWatch Events

To start an Amazon ECS task on an Amazon EC2-backed Cluster, instantiate an@aws-cdk/aws-events-targets.EcsTask instead of an Ec2Service:

Drivers ecs h61h2-m12

Log Drivers

Currently Supported Log Drivers:

Drivers

awslogs Log Driver

fluentd Log Driver

gelf Log Driver

journald Log Driver

Drivers

json-file Log Driver

splunk Log Driver

syslog Log Driver

firelens Log Driver

Driver Ecs H81h3 M4

Generic Log Driver

A generic log driver object exists to provide a lower level abstraction of the log driver configuration.

Classes

AddAutoScalingGroupCapacityOptions

The properties for adding an AutoScalingGroup.

AddCapacityOptions

The properties for adding instance capacity to an AutoScalingGroup.

AmiHardwareType

The ECS-optimized AMI variant to use.

AppMeshProxyConfiguration

The class for App Mesh proxy configurations.

AppMeshProxyConfigurationConfigProps

The configuration to use when setting an App Mesh proxy configuration.

AppMeshProxyConfigurationProps

Interface for setting the properties of proxy configuration.

AssetEnvironmentFile

Environment file from a local directory.

AssetImage

An image that will be built from a local directory with a Dockerfile.

AssetImageProps

The properties for building an AssetImage.

AuthorizationConfig

The authorization configuration details for the Amazon EFS file system.

AwsLogDriver

A log driver that sends log information to CloudWatch Logs.

AwsLogDriverProps

Specifies the awslogs log driver configuration options.

BaseLogDriverProps
BaseService

The base class for Ec2Service and FargateService services.

BaseServiceOptions

The properties for the base Ec2Service or FargateService service.

BaseServiceProps

Complete base service properties that are required to be supplied by the implementation of the BaseService class.

BinPackResource

Instance resource used for bin packing.

BottlerocketEcsVariant

Amazon ECS variant.

BottleRocketImage

Construct an Bottlerocket image from the latest AMI published in SSM.

BottleRocketImageProps

Properties for BottleRocketImage.

BuiltInAttributes

The built-in container instance attributes.

Capability

A Linux capability.

CfnCapacityProvider

A CloudFormation AWS::ECS::CapacityProvider.

CfnCapacityProvider.AutoScalingGroupProviderProperty
CfnCapacityProvider.ManagedScalingProperty
CfnCapacityProviderProps

Properties for defining a AWS::ECS::CapacityProvider.

CfnCluster

A CloudFormation AWS::ECS::Cluster.

CfnCluster.CapacityProviderStrategyItemProperty
CfnCluster.ClusterConfigurationProperty
CfnCluster.ClusterSettingsProperty
CfnCluster.ExecuteCommandConfigurationProperty
CfnCluster.ExecuteCommandLogConfigurationProperty
CfnClusterProps

Properties for defining a AWS::ECS::Cluster.

CfnPrimaryTaskSet

A CloudFormation AWS::ECS::PrimaryTaskSet.

CfnPrimaryTaskSetProps

Properties for defining a AWS::ECS::PrimaryTaskSet.

CfnService

A CloudFormation AWS::ECS::Service.

CfnService.AwsVpcConfigurationProperty
CfnService.CapacityProviderStrategyItemProperty
CfnService.DeploymentCircuitBreakerProperty
CfnService.DeploymentConfigurationProperty
CfnService.DeploymentControllerProperty
CfnService.LoadBalancerProperty
CfnService.NetworkConfigurationProperty
CfnService.PlacementConstraintProperty
CfnService.PlacementStrategyProperty
CfnService.ServiceRegistryProperty
CfnServiceProps

Properties for defining a AWS::ECS::Service.

CfnTaskDefinition

A CloudFormation AWS::ECS::TaskDefinition.

CfnTaskDefinition.AuthorizationConfigProperty
CfnTaskDefinition.ContainerDefinitionProperty
CfnTaskDefinition.ContainerDependencyProperty
CfnTaskDefinition.DeviceProperty
CfnTaskDefinition.DockerVolumeConfigurationProperty
CfnTaskDefinition.EfsVolumeConfigurationProperty
CfnTaskDefinition.EnvironmentFileProperty
CfnTaskDefinition.FirelensConfigurationProperty
CfnTaskDefinition.HealthCheckProperty
CfnTaskDefinition.HostEntryProperty
CfnTaskDefinition.HostVolumePropertiesProperty
CfnTaskDefinition.InferenceAcceleratorProperty
CfnTaskDefinition.KernelCapabilitiesProperty
CfnTaskDefinition.KeyValuePairProperty
CfnTaskDefinition.LinuxParametersProperty
CfnTaskDefinition.LogConfigurationProperty
CfnTaskDefinition.MountPointProperty
CfnTaskDefinition.PortMappingProperty
CfnTaskDefinition.ProxyConfigurationProperty
CfnTaskDefinition.RepositoryCredentialsProperty
CfnTaskDefinition.ResourceRequirementProperty
CfnTaskDefinition.SecretProperty
CfnTaskDefinition.SystemControlProperty
CfnTaskDefinition.TaskDefinitionPlacementConstraintProperty
CfnTaskDefinition.TmpfsProperty
CfnTaskDefinition.UlimitProperty
CfnTaskDefinition.VolumeFromProperty
CfnTaskDefinition.VolumeProperty
CfnTaskDefinitionProps

Properties for defining a AWS::ECS::TaskDefinition.

CfnTaskSet

A CloudFormation AWS::ECS::TaskSet.

CfnTaskSet.AwsVpcConfigurationProperty
CfnTaskSet.LoadBalancerProperty
CfnTaskSet.NetworkConfigurationProperty
CfnTaskSet.ScaleProperty
CfnTaskSet.ServiceRegistryProperty
CfnTaskSetProps

Properties for defining a AWS::ECS::TaskSet.

CloudMapNamespaceOptions

The options for creating an AWS Cloud Map namespace.

CloudMapOptions

The options to enabling AWS Cloud Map for an Amazon ECS service.

Cluster

A regional grouping of one or more container instances on which you can run tasks and services.

ClusterAttributes

The properties to import from the ECS cluster.

ClusterProps

The properties used to define an ECS cluster.

CommonTaskDefinitionProps

The common properties for all task definitions.

Compatibility

The task launch type compatibility requirement.

ContainerDefinition

A container definition is used in a task definition to describe the containers that are launched as part of a task.

ContainerDefinitionOptions
ContainerDefinitionProps

The properties in a container definition.

ContainerDependency

The details of a dependency on another container in the task definition.

ContainerDependencyCondition
ContainerImage

Constructs for types of container images.

ContainerImageConfig

The configuration for creating a container image.

CpuUtilizationScalingProps

The properties for enabling scaling based on CPU utilization.

DeploymentCircuitBreaker

The deployment circuit breaker to use for the service.

DeploymentController

The deployment controller to use for the service.

DeploymentControllerType

The deployment controller type to use for the service.

Device

A container instance host device.

DevicePermission

Permissions for device access.

DockerVolumeConfiguration

The configuration for a Docker volume.

Ec2Service

This creates a service using the EC2 launch type on an ECS cluster.

Ec2ServiceAttributes

The properties to import from the service using the EC2 launch type.

Ec2ServiceProps

The properties for defining a service using the EC2 launch type.

Ec2TaskDefinition

The details of a task definition run on an EC2 cluster.

Ec2TaskDefinitionProps

The properties for a task definition run on an EC2 cluster.

EcrImage

An image from an Amazon ECR repository.

EcsOptimizedAmi

(deprecated) Construct a Linux or Windows machine image from the latest ECS Optimized AMI published in SSM.

EcsOptimizedAmiProps

(deprecated) The properties that define which ECS-optimized AMI is used.

EcsOptimizedImage

Construct a Linux or Windows machine image from the latest ECS Optimized AMI published in SSM.

EcsTarget
EfsVolumeConfiguration

The configuration for an Elastic FileSystem volume.

EnvironmentFile

Constructs for types of environment files.

EnvironmentFileConfig

Configuration for the environment file.

EnvironmentFileType

Type of environment file to be included in the container definition.

FargatePlatformVersion

The platform version on which to run your service.

FargateService

This creates a service using the Fargate launch type on an ECS cluster.

FargateServiceAttributes

The properties to import from the service using the Fargate launch type.

FargateServiceProps

The properties for defining a service using the Fargate launch type.

FargateTaskDefinition

The details of a task definition run on a Fargate cluster.

FargateTaskDefinitionProps

The properties for a task definition.

FirelensConfig

Firelens Configuration https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef.

FirelensConfigFileType

Firelens configuration file type, s3 or file path.

FireLensLogDriver

FireLens enables you to use task definition parameters to route logs to an AWS service or AWS Partner Network (APN) destination for log storage and analytics.

FireLensLogDriverProps

Specifies the firelens log driver configuration options.

FirelensLogRouter

Firelens log router.

FirelensLogRouterDefinitionOptions

The options for creating a firelens log router.

FirelensLogRouterProps

The properties in a firelens log router.

FirelensLogRouterType

Firelens log router type, fluentbit or fluentd.

FirelensOptions

The options for firelens log router https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef-customconfig.

FluentdLogDriver

A log driver that sends log information to journald Logs.

FluentdLogDriverProps

Specifies the fluentd log driver configuration options.

GelfCompressionType

The type of compression the GELF driver uses to compress each log message.

GelfLogDriver

A log driver that sends log information to journald Logs.

GelfLogDriverProps

Specifies the journald log driver configuration options.

HealthCheck

The health check command and associated configuration parameters for the container.

Host

The details on a container instance bind mount host volume.

IpcMode

The IPC resource namespace to use for the containers in the task.

JournaldLogDriver

A log driver that sends log information to journald Logs.

JournaldLogDriverProps

Specifies the journald log driver configuration options.

JsonFileLogDriver

A log driver that sends log information to json-file Logs.

JsonFileLogDriverProps

Specifies the json-file log driver configuration options.

LaunchType

The launch type of an ECS service.

LinuxParameters

Linux-specific options that are applied to the container.

LinuxParametersProps

The properties for defining Linux-specific options that are applied to the container.

ListenerConfig

Base class for configuring listener when registering targets.

LoadBalancerTargetOptions

Properties for defining an ECS target.

LogDriver

The base class for log drivers.

LogDriverConfig

The configuration to use when creating a log driver.

LogDrivers

The base class for log drivers.

MachineImageType

The machine image type.

MemoryUtilizationScalingProps

The properties for enabling scaling based on memory utilization.

MountPoint

The details of data volume mount points for a container.

NetworkMode

The networking mode to use for the containers in the task.

PidMode

The process namespace to use for the containers in the task.

PlacementConstraint

The placement constraints to use for tasks in the service. For more information, see Amazon ECS Task Placement Constraints.

PlacementStrategy

The placement strategies to use for tasks in the service. For more information, see Amazon ECS Task Placement Strategies.

PortMapping

Port mappings allow containers to access ports on the host container instance to send or receive traffic.

PropagatedTagSource

Propagate tags from either service or task definition.

Protocol

Network protocol.

ProxyConfiguration

The base class for proxy configurations.

ProxyConfigurations

The base class for proxy configurations.

RepositoryImage

An image hosted in a public or private repository.

RepositoryImageProps

The properties for an image hosted in a public or private repository.

RequestCountScalingProps

The properties for enabling scaling based on Application Load Balancer (ALB) request counts.

S3EnvironmentFile

Environment file from S3.

ScalableTaskCount

The scalable attribute representing task count.

ScalableTaskCountProps

The properties of a scalable attribute representing task count.

Scope

The scope for the Docker volume that determines its lifecycle.

ScratchSpace

The temporary disk space mounted to the container.

Secret

A secret environment variable.

SplunkLogDriver

A log driver that sends log information to splunk Logs.

SplunkLogDriverProps

Specifies the splunk log driver configuration options.

SplunkLogFormat

Log Message Format.

SyslogLogDriver

A log driver that sends log information to syslog Logs.

SyslogLogDriverProps

Specifies the syslog log driver configuration options.

TagParameterContainerImage

A special type of {@link ContainerImage} that uses an ECR repository for the image, but a CloudFormation Parameter for the tag of the image in that repository.

TaskDefinition

The base class for all task definitions.

TaskDefinitionProps

The properties for task definitions.

Tmpfs

The details of a tmpfs mount for a container.

TmpfsMountOption

The supported options for a tmpfs mount for a container.

TrackCustomMetricProps

The properties for enabling target tracking scaling based on a custom CloudWatch metric.

Ulimit

The ulimit settings to pass to the container.

UlimitName

Type of resource to set a limit on.

Volume

A data volume used in a task definition.

VolumeFrom

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

WindowsOptimizedVersion

ECS-optimized Windows version list.

Interfaces

Ecs Drivers Download

CfnCapacityProvider.IAutoScalingGroupProviderProperty
CfnCapacityProvider.IManagedScalingProperty
CfnCluster.ICapacityProviderStrategyItemProperty
CfnCluster.IClusterConfigurationProperty
CfnCluster.IClusterSettingsProperty
CfnCluster.IExecuteCommandConfigurationProperty
CfnCluster.IExecuteCommandLogConfigurationProperty
CfnService.IAwsVpcConfigurationProperty
CfnService.ICapacityProviderStrategyItemProperty
CfnService.IDeploymentCircuitBreakerProperty
CfnService.IDeploymentConfigurationProperty
CfnService.IDeploymentControllerProperty
CfnService.ILoadBalancerProperty
CfnService.INetworkConfigurationProperty
CfnService.IPlacementConstraintProperty
CfnService.IPlacementStrategyProperty
CfnService.IServiceRegistryProperty
CfnTaskDefinition.IAuthorizationConfigProperty
CfnTaskDefinition.IContainerDefinitionProperty
CfnTaskDefinition.IContainerDependencyProperty
CfnTaskDefinition.IDeviceProperty
CfnTaskDefinition.IDockerVolumeConfigurationProperty
CfnTaskDefinition.IEfsVolumeConfigurationProperty
CfnTaskDefinition.IEnvironmentFileProperty
CfnTaskDefinition.IFirelensConfigurationProperty
CfnTaskDefinition.IHealthCheckProperty
CfnTaskDefinition.IHostEntryProperty
CfnTaskDefinition.IHostVolumePropertiesProperty
CfnTaskDefinition.IInferenceAcceleratorProperty
CfnTaskDefinition.IKernelCapabilitiesProperty
CfnTaskDefinition.IKeyValuePairProperty
CfnTaskDefinition.ILinuxParametersProperty
CfnTaskDefinition.ILogConfigurationProperty
CfnTaskDefinition.IMountPointProperty
CfnTaskDefinition.IPortMappingProperty
CfnTaskDefinition.IProxyConfigurationProperty
CfnTaskDefinition.IRepositoryCredentialsProperty
CfnTaskDefinition.IResourceRequirementProperty
CfnTaskDefinition.ISecretProperty
CfnTaskDefinition.ISystemControlProperty
CfnTaskDefinition.ITaskDefinitionPlacementConstraintProperty
CfnTaskDefinition.ITmpfsProperty
CfnTaskDefinition.IUlimitProperty
CfnTaskDefinition.IVolumeFromProperty
CfnTaskDefinition.IVolumeProperty
CfnTaskSet.IAwsVpcConfigurationProperty
CfnTaskSet.ILoadBalancerProperty
CfnTaskSet.INetworkConfigurationProperty
CfnTaskSet.IScaleProperty
CfnTaskSet.IServiceRegistryProperty
IAddAutoScalingGroupCapacityOptions

The properties for adding an AutoScalingGroup.

IAddCapacityOptions

The properties for adding instance capacity to an AutoScalingGroup.

IAppMeshProxyConfigurationConfigProps

The configuration to use when setting an App Mesh proxy configuration.

IAppMeshProxyConfigurationProps

Interface for setting the properties of proxy configuration.

IAssetImageProps

The properties for building an AssetImage.

IAuthorizationConfig

The authorization configuration details for the Amazon EFS file system.

IAwsLogDriverProps

Specifies the awslogs log driver configuration options.

IBaseLogDriverProps
IBaseService

The interface for BaseService.

IBaseServiceOptions

The properties for the base Ec2Service or FargateService service.

IBaseServiceProps

Complete base service properties that are required to be supplied by the implementation of the BaseService class.

IBottleRocketImageProps

Properties for BottleRocketImage.

ICfnCapacityProviderProps

Properties for defining a AWS::ECS::CapacityProvider.

ICfnClusterProps

Properties for defining a AWS::ECS::Cluster.

ICfnPrimaryTaskSetProps

Properties for defining a AWS::ECS::PrimaryTaskSet.

ICfnServiceProps

Properties for defining a AWS::ECS::Service.

ICfnTaskDefinitionProps

Properties for defining a AWS::ECS::TaskDefinition.

ICfnTaskSetProps

Properties for defining a AWS::ECS::TaskSet.

ICloudMapNamespaceOptions

The options for creating an AWS Cloud Map namespace.

ICloudMapOptions

The options to enabling AWS Cloud Map for an Amazon ECS service.

ICluster

A regional grouping of one or more container instances on which you can run tasks and services.

IClusterAttributes

The properties to import from the ECS cluster.

IClusterProps

The properties used to define an ECS cluster.

ICommonTaskDefinitionProps

The common properties for all task definitions.

IContainerDefinitionOptions
IContainerDefinitionProps

The properties in a container definition.

IContainerDependency

The details of a dependency on another container in the task definition.

IContainerImageConfig

The configuration for creating a container image.

ICpuUtilizationScalingProps

The properties for enabling scaling based on CPU utilization.

IDeploymentCircuitBreaker

The deployment circuit breaker to use for the service.

IDeploymentController

The deployment controller to use for the service.

IDevice

A container instance host device.

IDockerVolumeConfiguration

The configuration for a Docker volume.

IEc2Service

The interface for a service using the EC2 launch type on an ECS cluster.

IEc2ServiceAttributes

The properties to import from the service using the EC2 launch type.

IEc2ServiceProps

The properties for defining a service using the EC2 launch type.

IEc2TaskDefinition

The interface of a task definition run on an EC2 cluster.

IEc2TaskDefinitionProps

The properties for a task definition run on an EC2 cluster.

IEcsLoadBalancerTarget

Interface for ECS load balancer target.

IEcsOptimizedAmiProps

(deprecated) The properties that define which ECS-optimized AMI is used.

IEcsTarget
IEfsVolumeConfiguration

The configuration for an Elastic FileSystem volume.

IEnvironmentFileConfig

Configuration for the environment file.

IFargateService

The interface for a service using the Fargate launch type on an ECS cluster.

IFargateServiceAttributes

The properties to import from the service using the Fargate launch type.

IFargateServiceProps

The properties for defining a service using the Fargate launch type.

IFargateTaskDefinition

The interface of a task definition run on a Fargate cluster.

IFargateTaskDefinitionProps

The properties for a task definition.

IFirelensConfig

Firelens Configuration https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef.

IFireLensLogDriverProps

Specifies the firelens log driver configuration options.

IFirelensLogRouterDefinitionOptions

The options for creating a firelens log router.

IFirelensLogRouterProps

The properties in a firelens log router.

IFirelensOptions

The options for firelens log router https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef-customconfig.

IFluentdLogDriverProps

Specifies the fluentd log driver configuration options.

IGelfLogDriverProps

Specifies the journald log driver configuration options.

IHealthCheck

The health check command and associated configuration parameters for the container.

IHost

The details on a container instance bind mount host volume.

IJournaldLogDriverProps

Specifies the journald log driver configuration options.

IJsonFileLogDriverProps

Specifies the json-file log driver configuration options.

ILinuxParametersProps

The properties for defining Linux-specific options that are applied to the container.

ILoadBalancerTargetOptions

Properties for defining an ECS target.

ILogDriverConfig

The configuration to use when creating a log driver.

IMemoryUtilizationScalingProps

The properties for enabling scaling based on memory utilization.

IMountPoint

The details of data volume mount points for a container.

IPortMapping

Port mappings allow containers to access ports on the host container instance to send or receive traffic.

IRepositoryImageProps

The properties for an image hosted in a public or private repository.

IRequestCountScalingProps

The properties for enabling scaling based on Application Load Balancer (ALB) request counts.

IScalableTaskCountProps

The properties of a scalable attribute representing task count.

IScratchSpace

The temporary disk space mounted to the container.

IService

The interface for a service.

ISplunkLogDriverProps

Specifies the splunk log driver configuration options.

ISyslogLogDriverProps

Specifies the syslog log driver configuration options.

ITaskDefinition

The interface for all task definitions.

ITaskDefinitionExtension

An extension for Task Definitions.

ITaskDefinitionProps

The properties for task definitions.

ITmpfs

The details of a tmpfs mount for a container.

ITrackCustomMetricProps

The properties for enabling target tracking scaling based on a custom CloudWatch metric.

IUlimit

The ulimit settings to pass to the container.

IVolume

A data volume used in a task definition.

IVolumeFrom

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