/** * The aws lexicon's ownership tag convention. AWS tag keys allow `:`, so * chant's markers use the `chant:` form (distinct from the label-based * convention core keeps for k8s/gcp). Core owns the generic stamp/detect logic * (@intentius/chant/ownership); this is the aws-specific key naming it stamps. */ import type { ChannelKeys } from "@intentius/chant/ownership"; /** AWS tag keys for chant's ownership markers. */ export declare const AWS_TAG_OWNERSHIP_KEYS: ChannelKeys; /** * Template-level `Metadata` key the serializer stamps the ownership marker * under (#1222). Stack-level teardown verifies ownership on the *stack's own* * tags, and CloudFormation stack tags are an API parameter, not a template * section — so the template carries the marker here and the apply paths * (`awsApply`, the `cfn-deploy` change set) turn it into stack tags on * create/update. One source: the same build that stamps resource tags decides * the stack tags. */ export declare const OWNERSHIP_METADATA_KEY = "chant:ownership"; /** * The stack tags a template body asks for: the flat tag map under * `Metadata["chant:ownership"]`, or nothing. Total on bad input — a body that * is not JSON (a YAML template, a handwritten one) or carries no marker * returns `{}`, and the stack simply stays untagged, which teardown reports * as unverified rather than deleting. */ export declare function ownershipStackTagsForBody(body: string): Record; //# sourceMappingURL=ownership.d.ts.map