TriggerTrigger

data class TriggerTrigger(val branches: List<String>? = null, val customData: String? = null, val destinationArn: String, val events: List<String>, val name: String)

Constructors

Link copied to clipboard
constructor(branches: List<String>? = null, customData: String? = null, destinationArn: String, events: List<String>, name: String)

Types

Link copied to clipboard
object Companion

Properties

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

The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.

Link copied to clipboard
val customData: String? = null

Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

Link copied to clipboard

The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).

Link copied to clipboard

The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events. Event types include: all, updateReference, createReference, deleteReference.

Link copied to clipboard

The name of the trigger.