cdk-encrypted-secret
Version:
CDK Construct that creates an AWS Secret Manager Secret and sets the value from an encrypted Ciphertext.
25 lines (24 loc) • 1.08 kB
TypeScript
import { RequestContext } from "@smithy/types";
import { ConnectConfiguration } from "@smithy/types";
import { ConnectionManager, ConnectionManagerConfiguration } from "@smithy/types";
import { ClientHttp2Session } from "http2";
/**
* @public
*/
export declare class NodeHttp2ConnectionManager implements ConnectionManager<ClientHttp2Session> {
constructor(config: ConnectionManagerConfiguration);
private config;
private readonly sessionCache;
lease(requestContext: RequestContext, connectionConfiguration: ConnectConfiguration): ClientHttp2Session;
/**
* Delete a session from the connection pool.
* @param authority The authority of the session to delete.
* @param session The session to delete.
*/
deleteSession(authority: string, session: ClientHttp2Session): void;
release(requestContext: RequestContext, session: ClientHttp2Session): void;
destroy(): void;
setMaxConcurrentStreams(maxConcurrentStreams: number): void;
setDisableConcurrentStreams(disableConcurrentStreams: boolean): void;
private getUrlString;
}