Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-cloudwatch/lib/private/drop-empty-object-at-the-end-of-an-array-token.d.ts
2026-05-06 18:55:16 -05:00

15 lines
606 B
TypeScript

import type * as cdk from '../../../core';
/**
* A Token object that will drop the last element of an array if it is an empty object
*
* Necessary to prevent options objects that only contain "region" and "account" keys
* that evaluate to "undefined" from showing up in the rendered JSON.
*/
export declare class DropEmptyObjectAtTheEndOfAnArray implements cdk.IResolvable, cdk.IPostProcessor {
private readonly value;
readonly creationStack: string[];
constructor(value: any);
resolve(context: cdk.IResolveContext): any;
postProcess(o: any, _context: cdk.IResolveContext): any;
}