AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateNotificationRule operation. Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.
Namespace: Amazon.CodeStarNotifications.Model
Assembly: AWSSDK.CodeStarNotifications.dll
Version: 3.x.y.z
public class CreateNotificationRuleRequest : AmazonCodeStarNotificationsRequest IAmazonWebServiceRequest
The CreateNotificationRuleRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateNotificationRuleRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token. The Amazon Web Services SDKs prepopulate client request tokens. If you are using an Amazon Web Services SDK, an idempotency token is created for you. |
![]() |
DetailType | Amazon.CodeStarNotifications.DetailType |
Gets and sets the property DetailType.
The level of detail to include in the notifications for this resource. |
![]() |
EventTypeIds | System.Collections.Generic.List<System.String> |
Gets and sets the property EventTypeIds. A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary. |
![]() |
Name | System.String |
Gets and sets the property Name. The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account. |
![]() |
Resource | System.String |
Gets and sets the property Resource. The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in CodePipeline, repositories in CodeCommit, and build projects in CodeBuild. |
![]() |
Status | Amazon.CodeStarNotifications.NotificationRuleStatus |
Gets and sets the property Status.
The status of the notification rule. The default value is |
![]() |
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags.
A list of tags to apply to this notification rule. Key names cannot start with " |
![]() |
Targets | System.Collections.Generic.List<Amazon.CodeStarNotifications.Model.Target> |
Gets and sets the property Targets. A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service topics and Chatbot clients to associate with the notification rule. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5