Class CanarySchedule
- java.lang.Object
-
- com.pulumi.aws.synthetics.outputs.CanarySchedule
-
public final class CanarySchedule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CanarySchedule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CanarySchedule.Builder
builder()
static CanarySchedule.Builder
builder(CanarySchedule defaults)
java.util.Optional<java.lang.Integer>
durationInSeconds()
java.lang.String
expression()
-
-
-
Method Detail
-
durationInSeconds
public java.util.Optional<java.lang.Integer> durationInSeconds()
- Returns:
- Duration in seconds, for the canary to continue making regular runs according to the schedule in the Expression value.
-
expression
public java.lang.String expression()
- Returns:
- Rate expression or cron expression that defines how often the canary is to run. For rate expression, the syntax is `rate(number unit)`. _unit_ can be `minute`, `minutes`, or `hour`. For cron expression, the syntax is `cron(expression)`. For more information about the syntax for cron expressions, see [Scheduling canary runs using cron](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_cron.html).
-
builder
public static CanarySchedule.Builder builder()
-
builder
public static CanarySchedule.Builder builder(CanarySchedule defaults)
-
-