AwsAuthMapping¶
-
class
aws_cdk.aws_eks.
AwsAuthMapping
(*, groups, username=None)¶ Bases:
object
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.
Attributes
-
groups
¶ 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
- Return type
List
[str
]
-
username
¶ The user name within Kubernetes to map to the IAM role.
- Default
By default, the user name is the ARN of the IAM role.
- Return type
Optional
[str
]