UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

16 lines (15 loc) 516 B
import { Construct } from 'constructs'; export interface Content { readonly text: string; readonly markers: Record<string, any>; } /** * Renders the given string data as deployable content with markers substituted * for all "Ref" and "Fn::GetAtt" objects. * * @param scope Construct scope * @param data The input data * @returns The markered text (`text`) and a map that maps marker names to their * values (`markers`). */ export declare function renderData(scope: Construct, data: string): Content;