Interface ICfnQueryDefinitionProps
Properties for defining a CfnQueryDefinition
.
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnQueryDefinitionProps
Syntax (vb)
Public Interface ICfnQueryDefinitionProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;
var cfnQueryDefinitionProps = new CfnQueryDefinitionProps {
Name = "name",
QueryString = "queryString",
// the properties below are optional
LogGroupNames = new [] { "logGroupNames" }
};
Synopsis
Properties
LogGroupNames | Use this parameter if you want the query to query only certain log groups. |
Name | A name for the query definition. |
QueryString | The query string to use for this query definition. |
Properties
LogGroupNames
Use this parameter if you want the query to query only certain log groups.
virtual string[] LogGroupNames { get; }
Property Value
System.String[]
Remarks
Name
A name for the query definition.
string Name { get; }
Property Value
System.String
Remarks
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
.
QueryString
The query string to use for this query definition.
string QueryString { get; }
Property Value
System.String