Skip to content

QueryBuilder🔗

Constructor🔗

new QueryBuilder()

Methods🔗

build🔗

Builds the object.

build()

annotationQuery🔗

annotationQuery(annotationQuery: cog.Builder<cloudwatch.AnnotationQuery>)

logsQuery🔗

logsQuery(logsQuery: cog.Builder<cloudwatch.LogsQuery>)

metricsQuery🔗

metricsQuery(metricsQuery: cog.Builder<cloudwatch.MetricsQuery>)

datasource🔗

New type for datasource reference

Not creating a new type until we figure out how to handle DS refs for group by, adhoc, and every place that uses DataSourceRef in TS.

datasource(ref: {
    name?: string;
})

labels🔗

labels(labels: Record<string, string>)

version🔗

version(version: string)

See also🔗