# RecurrenceRuleProperty

The recurrence rule for the time exclusion window.

- Source: Generated at build time
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `expression`: 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).
