TriggerDestination constructor
- Input<
String?> ? cloudFunction, - Input<
TriggerDestinationCloudRunService?> ? cloudRunService, - Input<
TriggerDestinationGke?> ? gke, - Input<
TriggerDestinationHttpEndpoint?> ? httpEndpoint, - Input<
TriggerDestinationNetworkConfig?> ? networkConfig, - Input<
String?> ? workflow,
Creates a new TriggerDestination.
cloudFunction (Output)
cloudRunService Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
gke A GKE service capable of receiving events. The service should be running in the same project as the trigger.
httpEndpoint An HTTP endpoint destination described by an URI.
networkConfig Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
workflow The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}
Implementation
const TriggerDestination({
this.cloudFunction,
this.cloudRunService,
this.gke,
this.httpEndpoint,
this.networkConfig,
this.workflow,
});