@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.701Z") @Stability(value=Stable) public interface CfnQueryDefinitionProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.logs.*;
CfnQueryDefinitionProps cfnQueryDefinitionProps = CfnQueryDefinitionProps.builder()
.name("name")
.queryString("queryString")
// the properties below are optional
.logGroupNames(List.of("logGroupNames"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnQueryDefinitionProps.Builder
A builder for
CfnQueryDefinitionProps |
static class |
CfnQueryDefinitionProps.Jsii$Proxy
An implementation for
CfnQueryDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnQueryDefinitionProps.Builder |
builder() |
default List<String> |
getLogGroupNames()
Use this parameter if you want the query to query only certain log groups.
|
String |
getName()
A name for the query definition.
|
String |
getQueryString()
The query string to use for this query definition.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getQueryString()
For more information, see CloudWatch Logs Insights Query Syntax .
@Stability(value=Stable) @Nullable default List<String> getLogGroupNames()
@Stability(value=Stable) static CfnQueryDefinitionProps.Builder builder()
CfnQueryDefinitionProps.Builder of CfnQueryDefinitionPropsCopyright © 2022. All rights reserved.