AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeStarNotifications::NotificationRule

CodeStarNotifications NotificationRule

Resource Type definition for AWS::CodeStarNotifications::NotificationRule

Properties

10 configurable properties. 5 required. Click a row to see details.

Filter:
PropertyTypeFlags
DetailType
string
Required
EventTypeIds
Array<string>
Required
Name
string
Required
Resource
string
RequiredCreate-only
Targets
Array<Target>
Required
CreatedBy
string
EventTypeId
string
Write-only
Status
string
Tags
object
TargetAddress
string
Write-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeStarNotifications::NotificationRule

Resources:
  MyResource:
    Type: AWS::CodeStarNotifications::NotificationRule
    Properties:
      EventTypeIds: "my-eventtypeids"
      Resource: "value"
      DetailType: "BASIC"
      Targets: []
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

codestar-notifications:createNotificationRule

list

codestar-notifications:listNotificationRules

read

codestar-notifications:describeNotificationRule

delete

codestar-notifications:deleteNotificationRulecodestar-notifications:describeNotificationRule

update

codestar-notifications:updateNotificationRulecodestar-notifications:TagResourcecodestar-notifications:UntagResource

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceCodeStarNotifications
Properties11
Required5
TaggingNot supported
Primary IDArn

Supported Operations

CreateListReadDeleteUpdate

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Resource

External Links