UNPKG

cdk-encrypted-secret

Version:

CDK Construct that creates an AWS Secret Manager Secret and sets the value from an encrypted Ciphertext.

4 lines (3 loc) 233 B
import { loadConfig } from "@smithy/node-config-provider"; import { getEndpointUrlConfig } from "./getEndpointUrlConfig"; export const getEndpointFromConfig = async (serviceId) => loadConfig(getEndpointUrlConfig(serviceId ?? ""))();