Skip to content

EksSeccompProfile

Source code in docs_src/capo_batch/types/eks_seccomp_profile.py
class EksSeccompProfile(TypedDict, closed=True):
    type: NotRequired["capo_batch.types.eks_seccomp_profile_type.EksSeccompProfileType"]
    """<p>The seccomp profile type can be one of the following values:</p> <dl> <dt>RuntimeDefault</dt> <dd> <p>The <code>RuntimeDefault</code> value uses the container runtime's default seccomp profile.</p> </dd> <dt>Unconfined</dt> <dd> <p>The <code>Unconfined</code> value doesn't filter the container with seccomp.</p> </dd> <dt>Localhost</dt> <dd> <p>The <code>Localhost</code> value uses a custom profile at the path specified by <code>localhostProfile</code>.</p> </dd> </dl>"""
    localhost_profile: NotRequired[
        "capo_batch.types.eks_seccomp_localhost_profile.EksSeccompLocalhostProfile"
    ]
    """<p>The path of the profile on the node, relative to the configured seccomp profile location. You must specify this parameter when <code>type</code> is <code>Localhost</code>. 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 <a href="https://docs.aws.amazon.com/batch/latest/userguide/eks-launch-templates.html">Use a launch template with Batch on Amazon EKS</a> in the <i>Batch User Guide</i>.</p>"""

localhost_profile instance-attribute

localhost_profile: NotRequired[EksSeccompLocalhostProfile]

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.

type instance-attribute

type: NotRequired[EksSeccompProfileType]

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.