Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssociateEncryptionConfigCommand

Associate encryption configuration to an existing cluster.

You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.

example

Use a bare-bones client and the command you need to make an API call.

import { EKSClient, AssociateEncryptionConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
// const { EKSClient, AssociateEncryptionConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
const client = new EKSClient(config);
const command = new AssociateEncryptionConfigCommand(input);
const response = await client.send(command);
see

AssociateEncryptionConfigCommandInput for command's input shape.

see

AssociateEncryptionConfigCommandOutput for command's response shape.

see

config for EKSClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: AssociateEncryptionConfigCommandInput

Readonly middlewareStack