interface CfnScheduledQueryProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Logs.CfnScheduledQueryProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnScheduledQueryProps |
Java | software.amazon.awscdk.services.logs.CfnScheduledQueryProps |
Python | aws_cdk.aws_logs.CfnScheduledQueryProps |
TypeScript | aws-cdk-lib » aws_logs » CfnScheduledQueryProps |
Properties for defining a CfnScheduledQuery.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-scheduledquery.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnScheduledQueryProps: logs.CfnScheduledQueryProps = {
executionRoleArn: 'executionRoleArn',
name: 'name',
queryLanguage: 'queryLanguage',
queryString: 'queryString',
scheduleExpression: 'scheduleExpression',
// the properties below are optional
description: 'description',
destinationConfiguration: {
s3Configuration: {
destinationIdentifier: 'destinationIdentifier',
roleArn: 'roleArn',
},
},
logGroupIdentifiers: ['logGroupIdentifiers'],
scheduleEndTime: 123,
scheduleStartTime: 123,
startTimeOffset: 123,
state: 'state',
tags: [{
key: 'key',
value: 'value',
}],
timezone: 'timezone',
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | string | |
| name | string | |
| query | string | |
| query | string | |
| schedule | string | |
| description? | string | |
| destination | IResolvable | Destination | |
| log | string[] | |
| schedule | number | |
| schedule | number | |
| start | number | |
| state? | string | |
| tags? | Tags[] | |
| timezone? | string |
executionRoleArn
Type:
string
name
Type:
string
queryLanguage
Type:
string
queryString
Type:
string
scheduleExpression
Type:
string
description?
Type:
string
(optional)
destinationConfiguration?
Type:
IResolvable | Destination
(optional)
logGroupIdentifiers?
Type:
string[]
(optional)
scheduleEndTime?
Type:
number
(optional)
scheduleStartTime?
Type:
number
(optional)
startTimeOffset?
Type:
number
(optional)
state?
Type:
string
(optional)
tags?
Type:
Tags[]
(optional)
timezone?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript