## API Report File for "@aws-cdk-blocks/hosting" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import type { StandardSchemaV1 } from '@standard-schema/spec'; // @public export function cacheTtlEnvVarName(kind: ValueKind): string; // @public export function config(key: string, options?: ManagedValueOptions): ConfigValue; // @public export type ConfigKey = keyof HostingConfigRegistry extends never ? string : Extract; // @public export interface ConfigValue { // (undocumented) readonly [MANAGED_BRAND]: true; readonly key: string; readonly kind: 'config'; readonly schema?: StandardSchemaV1; } // @public export type ConfigValueOf = keyof HostingConfigRegistry extends never ? string : K extends keyof HostingConfigRegistry ? HostingConfigRegistry[K] : string; // @public export function decodeManagedValue(v: unknown): ManagedValue; // @public export const DEFAULT_CONFIG_PARAMETER_PREFIX = "/hosting/config"; // @public export const DEFAULT_SECRET_PARAMETER_PREFIX = "/hosting/secrets"; // @public export function defaultPrefixForKind(kind: ValueKind): string; // @public export function encodeManagedValue(v: ManagedValue): ManagedValueJSON; // @public export function envVarNameForKind(kind: ValueKind, key: string): string; // @public export function fallbackEnvVarName(envVarName: string): string; // @public export function getConfig(key: K): Promise>; // @public export function getSecret(key: K): Promise>; // @public export interface HostingConfigRegistry { } // @public export interface HostingSecretRegistry { } // @public export function isConfig(v: unknown): v is ConfigValue; // @public export function isManagedValue(v: unknown): v is ManagedValue; // @public export function isManagedValueJSON(v: unknown): v is ManagedValueJSON; // @public export function isSecret(v: unknown): v is SecretValue; // @public export const MANAGED_BRAND: unique symbol; // @public export const MANAGED_VALUE_JSON_TAG: "$aws-blocks/hosting.ManagedValue"; // @public export const MANAGED_VALUE_JSON_VERSION: 1; // @public export type ManagedValue = SecretValue | ConfigValue; // @public export class ManagedValueCodecError extends Error { constructor(message: string); } // @public export interface ManagedValueJSON { // (undocumented) readonly [MANAGED_VALUE_JSON_TAG]: { readonly v: typeof MANAGED_VALUE_JSON_VERSION; readonly kind: ValueKind; readonly key: string; readonly json?: true; }; } // @public export interface ManagedValueOptions { readonly schema?: StandardSchemaV1; } // @public export function managedValueReplacer(_key: string, value: unknown): unknown; // @public export function managedValueReviver(_key: string, value: unknown): unknown; // @public export function secret(key: string, options?: ManagedValueOptions): SecretValue; // @public export type SecretKey = keyof HostingSecretRegistry extends never ? string : Extract; // @public export type SecretStore = 'ssm' | 'secrets-manager'; // @public export function secretStoreLocator(key: string, opts: { prefix: string; store: SecretStore; stage?: string; }): string; // @public export interface SecretValue { // (undocumented) readonly [MANAGED_BRAND]: true; readonly key: string; readonly kind: 'secret'; readonly schema?: StandardSchemaV1; } // @public export type SecretValueOf = keyof HostingSecretRegistry extends never ? string : K extends keyof HostingSecretRegistry ? HostingSecretRegistry[K] : string; // @public export type ValueKind = 'secret' | 'config'; // (No @packageDocumentation comment for this package) ```