Interface CfnQueryDefinitionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQueryDefinitionMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:01.191Z")
@Stability(Stable)
public interface CfnQueryDefinitionMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnQueryDefinitionPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.logs.*;
CfnQueryDefinitionMixinProps cfnQueryDefinitionMixinProps = CfnQueryDefinitionMixinProps.builder()
.logGroupNames(List.of("logGroupNames"))
.name("name")
.queryLanguage("queryLanguage")
.queryString("queryString")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnQueryDefinitionMixinPropsstatic final classAn implementation forCfnQueryDefinitionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Use this parameter if you want the query to query only certain log groups.default StringgetName()A name for the query definition.default StringThe query language used for this query.default StringThe query string to use for this query definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogGroupNames
Use this parameter if you want the query to query only certain log groups.Returns union: Listinvalid input: '<'either
StringorILogGroupRef>- See Also:
-
getName
A name for the query definition.You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example,
*folder-name* / *query-name*.- See Also:
-
getQueryLanguage
The query language used for this query.For more information about the query languages that CloudWatch Logs supports, see Supported query languages .
Default: - "CWLI"
- See Also:
-
getQueryString
The query string to use for this query definition.For more information, see CloudWatch Logs Insights Query Syntax .
- See Also:
-
builder
-