UNPKG

cdk-encrypted-secret

Version:

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

24 lines (23 loc) 635 B
export interface ARN { partition: string; service: string; region: string; accountId: string; resource: string; } /** * Validate whether a string is an ARN. */ export declare const validate: (str: any) => boolean; /** * Parse an ARN string into structure with partition, service, region, accountId and resource values */ export declare const parse: (arn: string) => ARN; type buildOptions = Omit<ARN, "partition"> & { partition?: string; }; /** * Build an ARN with service, partition, region, accountId, and resources strings */ export declare const build: (arnObject: buildOptions) => string; export {};