Interface CfnScheduledQueryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScheduledQueryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-02T12:05:12.010Z")
@Stability(Stable)
public interface CfnScheduledQueryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnScheduledQuery.
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.*;
CfnScheduledQueryProps cfnScheduledQueryProps = CfnScheduledQueryProps.builder()
.executionRoleArn("executionRoleArn")
.name("name")
.queryLanguage("queryLanguage")
.queryString("queryString")
.scheduleExpression("scheduleExpression")
// the properties below are optional
.description("description")
.destinationConfiguration(DestinationConfigurationProperty.builder()
.s3Configuration(S3ConfigurationProperty.builder()
.destinationIdentifier("destinationIdentifier")
.roleArn("roleArn")
.build())
.build())
.logGroupIdentifiers(List.of("logGroupIdentifiers"))
.scheduleEndTime(123)
.scheduleStartTime(123)
.startTimeOffset(123)
.state("state")
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.timezone("timezone")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScheduledQueryPropsstatic final classAn implementation forCfnScheduledQueryProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Stringdefault ObjectReturns union: eitherIResolvableorCfnScheduledQuery.DestinationConfigurationPropertygetName()default Numberdefault Numberdefault Numberdefault StringgetState()default List<CfnScheduledQuery.TagsItemsProperty> getTags()default StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecutionRoleArn
- See Also:
-
getName
- See Also:
-
getQueryLanguage
- See Also:
-
getQueryString
- See Also:
-
getScheduleExpression
- See Also:
-
getDescription
- See Also:
-
getDestinationConfiguration
Returns union: eitherIResolvableorCfnScheduledQuery.DestinationConfigurationProperty- See Also:
-
getLogGroupIdentifiers
- See Also:
-
getScheduleEndTime
- See Also:
-
getScheduleStartTime
- See Also:
-
getStartTimeOffset
- See Also:
-
getState
- See Also:
-
getTags
- See Also:
-
getTimezone
- See Also:
-
builder
- Returns:
- a
CfnScheduledQueryProps.BuilderofCfnScheduledQueryProps
-