Skip to content
v2.278.0

Experimental

@aws-cdk/aws-iotevents-actions-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ResetTimerAction Class ​

The action to reset an existing timer.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotevents_actions_alpha from '@aws-cdk/aws-iotevents-actions-alpha';
const resetTimerAction = new iotevents_actions_alpha.ResetTimerAction('timerName');
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iotevents_actions_alpha as iotevents_actions_alpha

reset_timer_action = iotevents_actions_alpha.ResetTimerAction("timerName")
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotevents.actions.alpha.*;

ResetTimerAction resetTimerAction = new ResetTimerAction("timerName");
csharp
// Install: dotnet add package Amazon.CDK.AWS.IoTEvents.Actions.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTEvents.Actions.Alpha;

var resetTimerAction = new ResetTimerAction("timerName");
go
// Install: go get github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import iotevents_actions_alpha "github.com/aws/aws-cdk-go/awscdkioteventsactionsalpha"

resetTimerAction := iotevents_actions_alpha.NewResetTimerAction(jsii.String("timerName"))

Initializer ​

ts
new ResetTimerAction(timerName: string)
python
ResetTimerAction(timer_name: str)
java
new ResetTimerAction(String timerName)
csharp
new ResetTimerAction(string timerName)
go
NewResetTimerAction(TimerName *string)