View a markdown version of this page

AWS::Batch::JobDefinition EksSeccompProfile - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 in the Kubernetes documentation.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "LocalhostProfile" : String, "Type" : String }

YAML

LocalhostProfile: String Type: String

Properties

LocalhostProfile

The path of the profile on the node, relative to the configured seccomp profile location. You must specify this parameter when type is Localhost. 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: 1

Maximum: 4095

Update requires: No interruption

Type

The seccomp profile type can be one of the following values:

RuntimeDefault

The RuntimeDefault value uses the container runtime's default seccomp profile.

Unconfined

The Unconfined value doesn't filter the container with seccomp.

Localhost

The Localhost value uses a custom profile at the path specified by localhostProfile.

Required: Yes

Type: String

Allowed values: RuntimeDefault | Localhost | Unconfined

Update requires: No interruption