Show / Hide Table of Contents

Interface IServiceAccountOptions

(experimental) Options for ServiceAccount.

Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public interface IServiceAccountOptions
Syntax (vb)
Public Interface IServiceAccountOptions
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Eks.V2.Alpha;

             var serviceAccountOptions = new ServiceAccountOptions {
                 Annotations = new Dictionary<string, string> {
                     { "annotationsKey", "annotations" }
                 },
                 IdentityType = IdentityType.IRSA,
                 Labels = new Dictionary<string, string> {
                     { "labelsKey", "labels" }
                 },
                 Name = "name",
                 Namespace = "namespace"
             };

Synopsis

Properties

Annotations

(experimental) Additional annotations of the service account.

IdentityType

(experimental) The identity type to use for the service account.

Labels

(experimental) Additional labels of the service account.

Name

(experimental) The name of the service account.

Namespace

(experimental) The namespace of the service account.

Properties

Annotations

(experimental) Additional annotations of the service account.

IDictionary<string, string>? Annotations { get; }
Property Value

IDictionary<string, string>

Remarks

Default: - no additional annotations

Stability: Experimental

IdentityType

(experimental) The identity type to use for the service account.

IdentityType? IdentityType { get; }
Property Value

IdentityType?

Remarks

Default: IdentityType.IRSA

Stability: Experimental

Labels

(experimental) Additional labels of the service account.

IDictionary<string, string>? Labels { get; }
Property Value

IDictionary<string, string>

Remarks

Default: - no additional labels

Stability: Experimental

Name

(experimental) The name of the service account.

string? Name { get; }
Property Value

string

Remarks

The name of a ServiceAccount object must be a valid DNS subdomain name. https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

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

Stability: Experimental

Namespace

(experimental) The namespace of the service account.

string? Namespace { get; }
Property Value

string

Remarks

All namespace names must be valid RFC 1123 DNS labels. https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#namespaces-and-dns

Default: "default"

Stability: Experimental

Back to top Generated by DocFX