# EventRuleStatusSummaryProperty

Struct · External

Provides additional information about the current `EventRule` status.

- Source: Generated at build time
- Type last changed: v2.177.0 · 25 Jan 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_notifications as notifications } from 'aws-cdk-lib';
const eventRuleStatusSummaryProperty: notifications.CfnEventRule.EventRuleStatusSummaryProperty = {
  reason: 'reason',
  status: 'status',
};
```

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_notifications as notifications

event_rule_status_summary_property = notifications.CfnEventRule.EventRuleStatusSummaryProperty(
    reason="reason",
    status="status"
)
```

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.notifications.*;

EventRuleStatusSummaryProperty eventRuleStatusSummaryProperty = EventRuleStatusSummaryProperty.builder()
        .reason("reason")
        .status("status")
        .build();
```

C#:

```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.Notifications;

var eventRuleStatusSummaryProperty = new EventRuleStatusSummaryProperty {
    Reason = "reason",
    Status = "status"
};
```

Go:

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

eventRuleStatusSummaryProperty := &EventRuleStatusSummaryProperty{
	Reason: jsii.String("reason"),
	Status: jsii.String("status"),
}
```

## Properties

- `reason`: string (required) — A human-readable reason for `EventRuleStatus` .

- `status`: string (required) — The status of the `EventRule` .

  - Values:

  - `ACTIVE`

  - The `EventRule` can process events.
  - `INACTIVE`

  - The `EventRule` may be unable to process events.
  - `CREATING`

  - The `EventRule` is being created.

  Only `GET` and `LIST` calls can be run.
  - `UPDATING`

  - The `EventRule` is being updated.

  Only `GET` and `LIST` calls can be run.
  - `DELETING`

  - The `EventRule` is being deleted.

  Only `GET` and `LIST` calls can be run.
