Class CfnCanary.ScheduleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCanary.ScheduleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCanary.ScheduleProperty
CfnCanary.ScheduleProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.synthetics.CfnCanary.ScheduleProperty
CfnCanary.ScheduleProperty.Builder, CfnCanary.ScheduleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCanary.ScheduleProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringHow long, in seconds, for the canary to continue making regular runs according to the schedule in theExpressionvalue.final StringArateexpression or acronexpression that defines how often the canary is to run.final ObjectThe canary's retry configuration information.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCanary.ScheduleProperty.Builder.
-
-
Method Details
-
getExpression
Description copied from interface:CfnCanary.SchedulePropertyArateexpression or acronexpression that defines how often the canary is to run.For a rate expression, The syntax is
rate( *number unit* ). unit can beminute,minutes, orhour.For example,
rate(1 minute)runs the canary once a minute,rate(10 minutes)runs it once every 10 minutes, andrate(1 hour)runs it once every hour. You can specify a frequency betweenrate(1 minute)andrate(1 hour).Specifying
rate(0 minute)orrate(0 hour)is a special value that causes the canary to run only once when it is started.Use
cron( *expression* )to specify a cron expression. You can't schedule a canary to wait for more than a year before running. For information about the syntax for cron expressions, see Scheduling canary runs using cron .- Specified by:
getExpressionin interfaceCfnCanary.ScheduleProperty- See Also:
-
getDurationInSeconds
Description copied from interface:CfnCanary.SchedulePropertyHow long, in seconds, for the canary to continue making regular runs according to the schedule in theExpressionvalue.If you specify 0, the canary continues making runs until you stop it. If you omit this field, the default of 0 is used.
- Specified by:
getDurationInSecondsin interfaceCfnCanary.ScheduleProperty- See Also:
-
getRetryConfig
Description copied from interface:CfnCanary.SchedulePropertyThe canary's retry configuration information.Returns union: either
IResolvableorCfnCanary.RetryConfigProperty- Specified by:
getRetryConfigin interfaceCfnCanary.ScheduleProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-