AwsAuthMapping

class aws_cdk.aws_eks.AwsAuthMapping(*, groups, username=None)

Bases: object

(experimental) AwsAuth mapping.

Parameters
  • groups (List[str]) – (experimental) A list of groups within Kubernetes to which the role is mapped.

  • username (Optional[str]) – (experimental) The user name within Kubernetes to map to the IAM role. Default: - By default, the user name is the ARN of the IAM role.

Stability

experimental

Attributes

groups

(experimental) A list of groups within Kubernetes to which the role is mapped.

See

https://kubernetes.io/docs/reference/access-authn-authz/rbac/#default-roles-and-role-bindings

Stability

experimental

Return type

List[str]

username

(experimental) The user name within Kubernetes to map to the IAM role.

Default
  • By default, the user name is the ARN of the IAM role.

Stability

experimental

Return type

Optional[str]