ServiceAccountProps

class aws_cdk.aws_eks.ServiceAccountProps(*, name=None, namespace=None, cluster)

Bases: aws_cdk.aws_eks.ServiceAccountOptions

Properties for defining service accounts.

Parameters
  • name (Optional[str]) – The name of the service account. Default: - If no name is given, it will use the id of the resource.

  • namespace (Optional[str]) – The namespace of the service account. Default: “default”

  • cluster (ICluster) – The cluster to apply the patch to.

Attributes

cluster

The cluster to apply the patch to.

Return type

ICluster

name

The name of the service account.

Default
  • If no name is given, it will use the id of the resource.

Return type

Optional[str]

namespace

The namespace of the service account.

Default

“default”

Return type

Optional[str]