AwsAuthMapping

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

Bases: object

__init__(*, groups, username=None)

AwsAuth mapping.

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

  • username (Optional[str]) – 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 :stability: experimental

Return type

None

Attributes

groups

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

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

Return type

List[str]

username

The user name within Kubernetes to map to the IAM role.

default :default: - By default, the user name is the ARN of the IAM role.

stability :stability: experimental

Return type

Optional[str]