Interface EncryptionConfig.Builder

  • Method Details

    • resources

      Deprecated.
      Deprecated. Amazon EKS encrypts all Kubernetes API data by default, so this value no longer determines which resources are encrypted.

      Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.

      Specifies the resources to be encrypted. The only supported value is secrets.

      Parameters:
      resources -

      Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.

      Specifies the resources to be encrypted. The only supported value is secrets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      @Deprecated EncryptionConfig.Builder resources(String... resources)
      Deprecated.
      Deprecated. Amazon EKS encrypts all Kubernetes API data by default, so this value no longer determines which resources are encrypted.

      Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.

      Specifies the resources to be encrypted. The only supported value is secrets.

      Parameters:
      resources -

      Amazon EKS encrypts all Kubernetes API data with envelope encryption by default for clusters running Kubernetes version 1.28 or higher, so this field no longer affects which resources are encrypted.

      Specifies the resources to be encrypted. The only supported value is secrets.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provider

      EncryptionConfig.Builder provider(Provider provider)

      Key Management Service (KMS) key. Either the ARN or the alias can be used.

      Parameters:
      provider - Key Management Service (KMS) key. Either the ARN or the alias can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • provider

      default EncryptionConfig.Builder provider(Consumer<Provider.Builder> provider)

      Key Management Service (KMS) key. Either the ARN or the alias can be used.

      This is a convenience method that creates an instance of the Provider.Builder avoiding the need to create one manually via Provider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to provider(Provider).

      Parameters:
      provider - a consumer that will call methods on Provider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: