Show / Hide Table of Contents

Interface CfnTaskDefinition.IUlimitProperty

The ulimit settings to pass to the container.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTaskDefinition.IUlimitProperty
Syntax (vb)
Public Interface CfnTaskDefinition.IUlimitProperty
Remarks

Amazon ECS tasks hosted on AWS Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which AWS 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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ulimit.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ECS;

             var ulimitProperty = new UlimitProperty {
                 HardLimit = 123,
                 Name = "name",
                 SoftLimit = 123
             };

Synopsis

Properties

HardLimit

The hard limit for the ulimit type.

Name

The type of the ulimit .

SoftLimit

The soft limit for the ulimit type.

Properties

HardLimit

The hard limit for the ulimit type.

double HardLimit { get; }
Property Value

double

Remarks

The value can be specified in bytes, seconds, or as a count, depending on the type of the ulimit .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ulimit.html#cfn-ecs-taskdefinition-ulimit-hardlimit

Name

The type of the ulimit .

string Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ulimit.html#cfn-ecs-taskdefinition-ulimit-name

SoftLimit

The soft limit for the ulimit type.

double SoftLimit { get; }
Property Value

double

Remarks

The value can be specified in bytes, seconds, or as a count, depending on the type of the ulimit .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ulimit.html#cfn-ecs-taskdefinition-ulimit-softlimit

Back to top Generated by DocFX