AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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 1024 and the default hard limit is 65535.

You can specify the ulimit settings for a container in a task definition.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Ulimit

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z

Syntax

C#
public class Ulimit

The Ulimit type exposes the following members

Constructors

NameDescription
Public Method Ulimit()

Properties

NameTypeDescription
Public Property HardLimit System.Int32

Gets and sets the property HardLimit.

The hard limit for the ulimit type.

Public Property Name Amazon.ECS.UlimitName

Gets and sets the property Name.

The type of the ulimit.

Public Property SoftLimit System.Int32

Gets and sets the property SoftLimit.

The soft limit for the ulimit type.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5