Class CanaryScheduleArgs


  • public final class CanaryScheduleArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • durationInSeconds

        public java.util.Optional<com.pulumi.core.Output<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 com.pulumi.core.Output<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).
      • retryConfig

        public java.util.Optional<com.pulumi.core.Output<CanaryScheduleRetryConfigArgs>> retryConfig()
        Returns:
        Configuration block for canary retries. Detailed below.