Class ServiceAccountProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.ServiceAccountProps.Jsii$Proxy
All Implemented Interfaces:
ServiceAccountOptions, ServiceAccountProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ServiceAccountProps

@Stability(Stable) @Internal public static final class ServiceAccountProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServiceAccountProps
An implementation for ServiceAccountProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ServiceAccountProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ServiceAccountProps.Builder.
  • Method Details

    • getCluster

      public final ICluster getCluster()
      Description copied from interface: ServiceAccountProps
      The cluster to apply the patch to.
      Specified by:
      getCluster in interface ServiceAccountProps
    • getAnnotations

      public final Map<String,String> getAnnotations()
      Description copied from interface: ServiceAccountOptions
      Additional annotations of the service account.

      Default: - no additional annotations

      Specified by:
      getAnnotations in interface ServiceAccountOptions
    • getIdentityType

      public final IdentityType getIdentityType()
      Description copied from interface: ServiceAccountOptions
      The identity type to use for the service account.

      Default: IdentityType.IRSA

      Specified by:
      getIdentityType in interface ServiceAccountOptions
    • getLabels

      public final Map<String,String> getLabels()
      Description copied from interface: ServiceAccountOptions
      Additional labels of the service account.

      Default: - no additional labels

      Specified by:
      getLabels in interface ServiceAccountOptions
    • getName

      public final String getName()
      Description copied from interface: ServiceAccountOptions
      The name of the service account.

      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.

      Specified by:
      getName in interface ServiceAccountOptions
    • getNamespace

      public final String getNamespace()
      Description copied from interface: ServiceAccountOptions
      The namespace of the service account.

      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"

      Specified by:
      getNamespace in interface ServiceAccountOptions
    • getOverwriteServiceAccount

      public final Boolean getOverwriteServiceAccount()
      Description copied from interface: ServiceAccountOptions
      Overwrite existing service account.

      If this is set, we will use kubectl apply instead of kubectl create when the service account is created. Otherwise, if there is already a service account in the cluster with the same name, the operation will fail.

      Default: false

      Specified by:
      getOverwriteServiceAccount in interface ServiceAccountOptions
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: ServiceAccountOptions
      The removal policy applied to the service account resources.

      The removal policy controls what happens to the resources if they stop being managed by CloudFormation. This can happen in one of three situations:

      • The resource is removed from the template, so CloudFormation stops managing it
      • A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it
      • The stack is deleted, so CloudFormation stops managing all resources in it

      Default: RemovalPolicy.DESTROY

      Specified by:
      getRemovalPolicy in interface ServiceAccountOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object