import { ICfnFunctionContext } from './cfn-functions' ; export class CfnMerge { static resolve ( context , resource , resourceParent , resourceKey , key , val ) { if ( key === '<<' && typeof val === 'object' ) { const declaredMap = { ... resourceParent [ resourceKey ] } ; delete declaredMap [ '<<' ] ; resourceParent [ resourceKey ] = { ... val , ... declaredMap } ; } } }