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 (ICluster) – (experimental) The cluster to apply the patch to.

Stability

experimental

Attributes

cluster

(experimental) The cluster to apply the patch to.

Stability

experimental

Return type

ICluster

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]