Class QueryString
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.QueryString
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:12.523Z")
@Stability(Stable)
public class QueryString
extends software.amazon.jsii.JsiiObject
Define a QueryString.
Example:
QueryDefinition.Builder.create(this, "QueryDefinition") .queryDefinitionName("MyQuery") .queryString(QueryString.Builder.create() .fields(List.of("@timestamp", "@message")) .parseStatements(List.of("@message \"[*] *\" as loggingType, loggingMessage", "@message \"<*>: *\" as differentLoggingType, differentLoggingMessage")) .filterStatements(List.of("loggingType = \"ERROR\"", "loggingMessage = \"A very strange error occurred!\"")) .sort("@timestamp desc") .limit(20) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionQueryString
(QueryStringProps props) protected
QueryString
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
QueryString
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
QueryString
protected QueryString(software.amazon.jsii.JsiiObjectRef objRef) -
QueryString
protected QueryString(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
QueryString
- Parameters:
props
-
-
QueryString
@Stability(Stable) public QueryString()
-
-
Method Details