This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Batch::JobDefinition EksSeccompProfile
The Linux seccomp profile for a pod or container. For more information, see Restrict a Container's
Syscalls with seccomp
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "LocalhostProfile" :String, "Type" :String}
YAML
LocalhostProfile:StringType:String
Properties
LocalhostProfile-
The path of the profile on the node, relative to the configured seccomp profile location. You must specify this parameter when
typeisLocalhost. Don't set this parameter for any other type. You are responsible for ensuring that the profile exists on every eligible worker node. For information about providing files to Amazon EKS nodes, see Use a launch template with Amazon Batch on Amazon EKS in the Amazon Batch User Guide.Required: No
Type: String
Minimum:
1Maximum:
4095Update requires: No interruption
Type-
The seccomp profile type can be one of the following values:
- RuntimeDefault
-
The
RuntimeDefaultvalue uses the container runtime's default seccomp profile. - Unconfined
-
The
Unconfinedvalue doesn't filter the container with seccomp. - Localhost
-
The
Localhostvalue uses a custom profile at the path specified bylocalhostProfile.
Required: Yes
Type: String
Allowed values:
RuntimeDefault | Localhost | UnconfinedUpdate requires: No interruption