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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.synthetics.CfnCanary.ScheduleProperty
CfnCanary.ScheduleProperty.Builder, CfnCanary.ScheduleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCanary.ScheduleProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
How long, in seconds, for the canary to continue making regular runs according to the schedule in theExpression
value.final String
Arate
expression or acron
expression that defines how often the canary is to run.final int
hashCode()
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.ScheduleProperty
Arate
expression or acron
expression 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:
getExpression
in interfaceCfnCanary.ScheduleProperty
-
getDurationInSeconds
Description copied from interface:CfnCanary.ScheduleProperty
How long, in seconds, for the canary to continue making regular runs according to the schedule in theExpression
value.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:
getDurationInSeconds
in interfaceCfnCanary.ScheduleProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-