ServiceAccountProps

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

Bases: aws_cdk.aws_eks.ServiceAccountOptions

__init__(*, name=None, namespace=None, cluster)

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 (Cluster) – The cluster to apply the patch to. [disable-awslint:ref-via-interface]

stability :stability: experimental

Return type

None

Attributes

cluster

The cluster to apply the patch to.

[disable-awslint:ref-via-interface]

stability :stability: experimental

Return type

Cluster

name

The name of the service account.

default :default: - If no name is given, it will use the id of the resource.

stability :stability: experimental

Return type

Optional[str]

namespace

The namespace of the service account.

default :default: “default”

stability :stability: experimental

Return type

Optional[str]