@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:28.978Z") @Stability(value=Experimental) public class Schedule extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
Schedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Schedule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static Schedule |
expression(String expression)
(experimental) Construct a schedule from a literal schedule expression.
|
String |
getExpressionString()
(experimental) The Schedule expression.
|
static Schedule |
once()
(experimental) The canary will be executed once.
|
static Schedule |
rate(Duration interval)
(experimental) Construct a schedule from an interval.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Schedule(software.amazon.jsii.JsiiObjectRef objRef)
protected Schedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static Schedule expression(@NotNull String expression)
The expression must be in a rate(number units) format.
For example, Schedule.expression('rate(10 minutes)')
expression - The expression to use. This parameter is required.@Stability(value=Experimental) @NotNull public static Schedule once()
@Stability(value=Experimental) @NotNull public static Schedule rate(@NotNull Duration interval)
Allowed values: 0 (for a single run) or between 1 and 60 minutes.
To specify a single run, you can use Schedule.once().
interval - The interval at which to run the canary. This parameter is required.@Stability(value=Experimental) @NotNull public String getExpressionString()
Copyright © 2021. All rights reserved.