Class: Aws::Batch::Types::EksSeccompProfile

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

The Linux seccomp profile for a pod or container. For more information, see Restrict a Container's Syscalls with seccomp in the Kubernetes documentation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#localhost_profile ⇒ String

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 Batch on Amazon EKS in the Batch User Guide.

Returns:

  • (String)


6187
6188
6189
6190
6191
6192
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6187

class EksSeccompProfile < Struct.new(
  :type,
  :localhost_profile)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

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.

Returns:

  • (String)


6187
6188
6189
6190
6191
6192
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6187

class EksSeccompProfile < Struct.new(
  :type,
  :localhost_profile)
  SENSITIVE = []
  include Aws::Structure
end