Package com.pulumi.aws.synthetics.inputs
Class CanaryScheduleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.synthetics.inputs.CanaryScheduleArgs
-
public final class CanaryScheduleArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCanaryScheduleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static CanaryScheduleArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CanaryScheduleArgs.Builderbuilder()static CanaryScheduleArgs.Builderbuilder(CanaryScheduleArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>durationInSeconds()com.pulumi.core.Output<java.lang.String>expression()java.util.Optional<com.pulumi.core.Output<CanaryScheduleRetryConfigArgs>>retryConfig()
-
-
-
Field Detail
-
Empty
public static final CanaryScheduleArgs Empty
-
-
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.
-
builder
public static CanaryScheduleArgs.Builder builder()
-
builder
public static CanaryScheduleArgs.Builder builder(CanaryScheduleArgs defaults)
-
-