Struct aws_sdk_ecs::model::Ulimit
source · [−]#[non_exhaustive]pub struct Ulimit {
pub name: Option<UlimitName>,
pub soft_limit: i32,
pub hard_limit: i32,
}
Expand description
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 hard limit is 4096
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<UlimitName>
The type
of the ulimit
.
soft_limit: i32
The soft limit for the ulimit type.
hard_limit: i32
The hard limit for the ulimit type.
Implementations
The type
of the ulimit
.
The soft limit for the ulimit type.
The hard limit for the ulimit type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ulimit
impl UnwindSafe for Ulimit
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more