import type { IPipeline } from 'aws-cdk-lib/aws-codepipeline'; import type { PipelineBase } from 'aws-cdk-lib/pipelines'; type PipelineType = IPipeline | PipelineBase; /** * CodePipeline tag used by delivery-performance-monitoring to override * whether a pipeline execution should be reported to Datadog DORA. * * @see https://bitbucket.collaboration-man.com/projects/RIODEV/repos/delivery-performance-monitoring/browse */ export declare const DELIVERY_PERFORMANCE_MONITORING_TAG = "delivery_performance_monitoring"; /** * Convenience helpers to enforce including or excluding CodePipeline pipelines * from delivery-performance-monitoring regardless of the default detection mechanism. * * Example: * ```typescript * import { DeliveryPerformanceMonitoringOverride } from '@rio-cloud/cdk-v2-constructs' * import { pipeline } from './pipeline' * * DeliveryPerformanceMonitoringOverride.include(pipeline) * DeliveryPerformanceMonitoringOverride.exclude(pipeline) * ``` * * @see https://bitbucket.collaboration-man.com/projects/RIODEV/repos/delivery-performance-monitoring/browse */ export declare class DeliveryPerformanceMonitoringOverride { /** * Marks the pipeline as always tracked by delivery-performance-monitoring account-module. */ static include(target: PipelineType): void; /** * Marks the pipeline as never tracked by delivery-performance-monitoring. */ static exclude(target: PipelineType): void; } export {};