NotificationRuleArgs

data class NotificationRuleArgs(val createdBy: Output<String>? = null, val detailType: Output<NotificationRuleDetailType>? = null, val eventTypeId: Output<String>? = null, val eventTypeIds: Output<List<String>>? = null, val name: Output<String>? = null, val resource: Output<String>? = null, val status: Output<NotificationRuleStatus>? = null, val tags: Output<Map<String, String>>? = null, val targetAddress: Output<String>? = null, val targets: Output<List<NotificationRuleTargetArgs>>? = null) : ConvertibleToJava<NotificationRuleArgs>

Resource Type definition for AWS::CodeStarNotifications::NotificationRule

Constructors

Link copied to clipboard
constructor(createdBy: Output<String>? = null, detailType: Output<NotificationRuleDetailType>? = null, eventTypeId: Output<String>? = null, eventTypeIds: Output<List<String>>? = null, name: Output<String>? = null, resource: Output<String>? = null, status: Output<NotificationRuleStatus>? = null, tags: Output<Map<String, String>>? = null, targetAddress: Output<String>? = null, targets: Output<List<NotificationRuleTargetArgs>>? = null)

Properties

Link copied to clipboard
val createdBy: Output<String>? = null

The name or email alias of the person who created the notification rule.

Link copied to clipboard

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

Link copied to clipboard
val eventTypeId: Output<String>? = null

The event type associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide .

Link copied to clipboard
val eventTypeIds: Output<List<String>>? = null

A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide .

Link copied to clipboard
val name: Output<String>? = null

The name for the notification rule. Notification rule names must be unique in your AWS account .

Link copied to clipboard
val resource: Output<String>? = null

The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .

Link copied to clipboard
val status: Output<NotificationRuleStatus>? = null

The status of the notification rule. The default value is ENABLED . If the status is set to DISABLED , notifications aren't sent for the notification rule.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A list of tags to apply to this notification rule. Key names cannot start with " aws ".

Link copied to clipboard
val targetAddress: Output<String>? = null

The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.

Link copied to clipboard

A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.

Functions

Link copied to clipboard
open override fun toJava(): NotificationRuleArgs