RepositoryTrigger
public struct RepositoryTrigger : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches. Although no content is required in the array, you must include the array itself.
Declaration
Swift
public let branches: [String]?
-
Any custom data associated with the trigger to be included in the information sent to the target of the trigger.
Declaration
Swift
public let customData: String?
-
The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).
Declaration
Swift
public let destinationArn: String
-
The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. The valid value “all” cannot be used with any other values.
Declaration
Swift
public let events: [RepositoryTriggerEventEnum]
-
The name of the trigger.
Declaration
Swift
public let name: String
-
Undocumented
Declaration
Swift
public init(branches: [String]? = nil, customData: String? = nil, destinationArn: String, events: [RepositoryTriggerEventEnum], name: String)
-
Declaration
Swift
public func validate(name: String) throws