---
type: resource-type
title: NotificationRule
description: aws resource type AWS::CodeStarNotifications::NotificationRule
name: NotificationRule
lexicon: aws
resource_type: AWS::CodeStarNotifications::NotificationRule
---
`AWS::CodeStarNotifications::NotificationRule`, a resource type of the aws lexicon.

## Properties

- `DetailType` (`"BASIC" | "FULL"`, required)
- `EventTypeIds` (`string[]`, required)
- `Name` (`string`, required)
- `Resource` (`string`, required)
- `Targets` (`NotificationRule_Target[]`, required)
- `Arn` (`string`, optional)
- `CreatedBy` (`string`, optional)
- `EventTypeId` (`string`, optional)
- `Status` (`"DISABLED" | "ENABLED"`, optional)
- `Tags` (`Record<string, unknown>`, optional)
- `TargetAddress` (`string`, optional)

## Attributes

- `Arn`
