Interface QueryDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
QueryDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.131Z")
@Stability(Stable)
public interface QueryDefinitionProps
extends software.amazon.jsii.JsiiSerializable
Properties for a QueryDefinition.
Example:
QueryDefinition.Builder.create(this, "QueryDefinition") .queryDefinitionName("MyQuery") .queryString(QueryString.Builder.create() .fields(List.of("@timestamp", "@message")) .sort("@timestamp desc") .limit(20) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forQueryDefinitionProps
static final class
An implementation forQueryDefinitionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryDefinitionProps.Builder
builder()
Specify certain log groups for the query definition.Name of the query definition.The query string to use for this query definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueryDefinitionName
Name of the query definition. -
getQueryString
The query string to use for this query definition. -
getLogGroups
Specify certain log groups for the query definition.Default: - no specified log groups
-
builder
- Returns:
- a
QueryDefinitionProps.Builder
ofQueryDefinitionProps
-