Skip to content
v2.277.0

ScheduleProperty Struct ​

Schedule configuration for a time-based trigger.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const scheduleProperty: devopsagent.CfnTrigger.ScheduleProperty = {
  expression: 'expression',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent

schedule_property = devopsagent.CfnTrigger.ScheduleProperty(
    expression="expression"
)
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.devopsagent.*;

ScheduleProperty scheduleProperty = ScheduleProperty.builder()
        .expression("expression")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;

var scheduleProperty = new ScheduleProperty {
    Expression = "expression"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scheduleProperty := &ScheduleProperty{
	Expression: jsii.String("expression"),
}

Properties ​

expressionstringexpressionstrexpressionStringExpressionstringExpression*string required #
A cron or rate expression that defines when the trigger fires.