/** * CloudFormation template condition (#2068). * * A `Condition` declarable is lifted into the template's `Conditions` * section by the serializer, the way `Parameter` is lifted into * `Parameters`. Reference it from a resource's `Condition` attribute, an * output's `condition` option, `If(...)`, or inside another condition via * `And`/`Or`/`Not`. */ import { DECLARABLE_MARKER, type Declarable } from "@intentius/chant/declarable"; import { type Intrinsic } from "@intentius/chant/intrinsic"; export declare const CONDITION_ENTITY_TYPE = "AWS::CloudFormation::Condition"; export declare class Condition implements Declarable { readonly [DECLARABLE_MARKER]: true; readonly lexicon = "aws"; readonly entityType = "AWS::CloudFormation::Condition"; /** The boolean expression: an `Equals`/`And`/`Or`/`Not` intrinsic. */ readonly expression: Intrinsic; constructor(expression: Intrinsic); } /** * Type guard for the `Condition` declarable. Duck-typed on `entityType` * rather than `instanceof` so a lexicon built against a separate copy of * `@intentius/chant` still matches (the #1137 convention). */ export declare function isCondition(value: unknown): value is Condition; //# sourceMappingURL=condition.d.ts.map