ServiceAccountProps

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

Bases: aws_cdk.aws_eks.ServiceAccountOptions

(experimental) Properties for defining service accounts.

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

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

  • cluster (Cluster) – (experimental) The cluster to apply the patch to. [disable-awslint:ref-via-interface]

Stability

experimental

Attributes

cluster

(experimental) The cluster to apply the patch to.

[disable-awslint:ref-via-interface]

Stability

experimental

Return type

Cluster

name

(experimental) The name of the service account.

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

Stability

experimental

Return type

Optional[str]

namespace

(experimental) The namespace of the service account.

Default

“default”

Stability

experimental

Return type

Optional[str]