Interface EksSeccompProfile.Builder

  • Method Details

    • 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 .

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 .

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • localhostProfile

      EksSeccompProfile.Builder localhostProfile(String 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 Batch on Amazon EKS in the Batch User Guide.

      Parameters:
      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 Batch on Amazon EKS in the Batch User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.