UNPKG

@adpt/cloud

Version:
15 lines 825 B
import { AdaptElement, Handle } from "@adpt/core"; import AWS from "./aws-sdk"; import { CFResourceProps } from "./CFResource"; export interface Tagged { Tags?: AWS.EC2.Tag[]; } export declare const adaptDeployIdTag = "adapt:deployID"; export declare const adaptStackIdTag = "adapt:stackID"; export declare const adaptResourceIdTag = "adapt:resourceID"; export declare function addTag(input: Tagged, tag: string, value: string): void; export declare function getTag(obj: Tagged, tag: string): string | undefined; export declare function adaptResourceId(elemOrHandle: AdaptElement<CFResourceProps> | Handle): string; export declare function adaptIdFromElem(prefix: string, el: AdaptElement<{}>): string; export declare function adaptId(prefix: string, elementId: string): string; //# sourceMappingURL=plugin_utils.d.ts.map