Class: Aws::Batch::Types::EksPodSecurityContext

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

Overview

The security context for the pod. The settings apply to all containers in the pod when the container does not specify an overriding value. For more information, see Set the security context for a Pod in the Kubernetes documentation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fs_group ⇒ Integer

A special supplemental group that is applied to all containers in the pod. Some volume types allow Kubernetes to change the ownership and permissions of the volume contents to this group when the volume is mounted. The supported value range is 0 through 2147483647.

Returns:

  • (Integer)


6090
6091
6092
6093
6094
6095
6096
6097
6098
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6090

class EksPodSecurityContext < Struct.new(
  :run_as_user,
  :run_as_group,
  :run_as_non_root,
  :seccomp_profile,
  :fs_group)
  SENSITIVE = []
  include Aws::Structure
end

#run_as_group ⇒ Integer

The primary group ID that runs containers in the pod when a container does not specify its own group ID. The supported value range is 0 through 2147483647.

Returns:

  • (Integer)


6090
6091
6092
6093
6094
6095
6096
6097
6098
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6090

class EksPodSecurityContext < Struct.new(
  :run_as_user,
  :run_as_group,
  :run_as_non_root,
  :seccomp_profile,
  :fs_group)
  SENSITIVE = []
  include Aws::Structure
end

#run_as_non_root ⇒ Boolean

Specifies whether Kubernetes validates that containers in the pod don't run as the root user unless a container specifies an overriding value.

Returns:

  • (Boolean)


6090
6091
6092
6093
6094
6095
6096
6097
6098
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6090

class EksPodSecurityContext < Struct.new(
  :run_as_user,
  :run_as_group,
  :run_as_non_root,
  :seccomp_profile,
  :fs_group)
  SENSITIVE = []
  include Aws::Structure
end

#run_as_user ⇒ Integer

The user ID that runs containers in the pod when a container does not specify its own user ID. The supported value range is 0 through 2147483647.

Returns:

  • (Integer)


6090
6091
6092
6093
6094
6095
6096
6097
6098
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6090

class EksPodSecurityContext < Struct.new(
  :run_as_user,
  :run_as_group,
  :run_as_non_root,
  :seccomp_profile,
  :fs_group)
  SENSITIVE = []
  include Aws::Structure
end

#seccomp_profile ⇒ Types::EksSeccompProfile

The default seccomp profile for containers in the pod. A container-level seccomp profile overrides this value.



6090
6091
6092
6093
6094
6095
6096
6097
6098
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 6090

class EksPodSecurityContext < Struct.new(
  :run_as_user,
  :run_as_group,
  :run_as_non_root,
  :seccomp_profile,
  :fs_group)
  SENSITIVE = []
  include Aws::Structure
end