Class QueryString
Define a QueryString.
Inheritance
System.Object
QueryString
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public class QueryString : DeputyBase
Syntax (vb)
Public Class QueryString
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
new QueryDefinition(this, "QueryDefinition", new QueryDefinitionProps {
QueryDefinitionName = "MyQuery",
QueryString = new QueryString(new QueryStringProps {
Fields = new [] { "@timestamp", "@message" },
Sort = "@timestamp desc",
Limit = 20
})
});
Synopsis
Constructors
QueryString(IQueryStringProps) | |
QueryString(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
QueryString(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
ToString() | String representation of this QueryString. |
Constructors
QueryString(IQueryStringProps)
QueryString(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected QueryString(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
QueryString(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected QueryString(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
ToString()
String representation of this QueryString.
public override string ToString()
Returns
System.String