Skip to content
v2.278.0

RecurrenceRuleProperty Struct ​

The recurrence rule for the time exclusion window.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationsignals as applicationsignals } from 'aws-cdk-lib';
const recurrenceRuleProperty: applicationsignals.CfnServiceLevelObjective.RecurrenceRuleProperty = {
  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_applicationsignals as applicationsignals

recurrence_rule_property = applicationsignals.CfnServiceLevelObjective.RecurrenceRuleProperty(
    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.applicationsignals.*;

RecurrenceRuleProperty recurrenceRuleProperty = RecurrenceRuleProperty.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.ApplicationSignals;

var recurrenceRuleProperty = new RecurrenceRuleProperty {
    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"

recurrenceRuleProperty := &RecurrenceRuleProperty{
	Expression: jsii.String("expression"),
}

Properties ​

expressionstringexpressionstrexpressionStringExpressionstringExpression*string required #
The following two rules are supported:.
  • rate(value unit) - The value must be a positive integer and the unit can be hour|day|month.
  • cron - An expression which consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year).