---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_codestarnotifications_notification_rule Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Resource Type definition for AWS::CodeStarNotifications::NotificationRule
---
# awscc_codestarnotifications_notification_rule (Resource)
Resource Type definition for AWS::CodeStarNotifications::NotificationRule
## Schema
### Required
- `detail_type` (String)
- `event_type_ids` (List of String)
- `name` (String)
- `resource` (String)
- `targets` (Attributes List) (see [below for nested schema](#nestedatt--targets))
### Optional
- `created_by` (String)
- `event_type_id` (String)
- `status` (String)
- `tags` (Map of String)
- `target_address` (String)
### Read-Only
- `arn` (String)
- `id` (String) Uniquely identifies the resource.
### Nested Schema for `targets`
Required:
- `target_address` (String)
- `target_type` (String)
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_codestarnotifications_notification_rule.example
```