Skip to content

Query🔗

Constructor🔗

Query()

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.DataQueryKind

annotation_query🔗

def annotation_query(annotation_query: cogbuilder.Builder[cloudwatch.AnnotationQuery]) -> typing.Self

logs_query🔗

def logs_query(logs_query: cogbuilder.Builder[cloudwatch.LogsQuery]) -> typing.Self

metrics_query🔗

def metrics_query(metrics_query: cogbuilder.Builder[cloudwatch.MetricsQuery]) -> typing.Self

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.

def datasource(ref: cogbuilder.Builder[dashboardv2beta1.Dashboardv2beta1DataQueryKindDatasource]) -> typing.Self

labels🔗

def labels(labels: dict[str, str]) -> typing.Self

version🔗

def version(version: str) -> typing.Self

See also🔗