latest--mongodb-atlas-trigger
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--mongodb-atlas-trigger.json |
| Parent schema | serverless-framework-configuration |
View and manage your application's triggers.. Source:- https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git
Properties
App Services Application ID
Project Id for application services
The profile is defined in AWS Secret manager. See Secret Manager Profile setup.
10 nested properties
The _id value of a linked MongoDB data source.
See Get a Data Source.
The name of a database in the linked data source.
The name of a collection in the specified database. The trigger listens to events from this collection.
The type(s) of MongoDB change event that the trigger listens for.
A $match expression filters change events. The trigger will only fire if the expression evaluates to true for a given change event.
If true, indicates that UPDATE change events should
include the most current
majority-committed
version of the modified document in the fullDocument
field.
If true, indicates that UPDATE change events should
include a snapshot of the modified document from
immediately before the update was applied.
You must enable document preimages for your cluster to include these snapshots.
If true, enabling the Trigger after it was disabled
will not invoke events that occurred while the Trigger
was disabled.
If true, when this Trigger's resume token
cannot be found in the cluster's oplog, the Trigger automatically resumes
processing events at the next relevant change stream event.
All change stream events from when the Trigger was suspended until the Trigger
resumes execution do not have the Trigger fire for them.
If true, event ordering is disabled and this Trigger
can process events in parallel. If false, event
ordering is enabled and the Trigger executes events
serially.
2 nested properties
The type of authentication event that the trigger listens for.
The type(s) of authentication provider that the trigger listens to.
2 nested properties
A cron expression that specifies when the trigger executes.
If true, enabling the trigger after it was disabled
will not invoke events that occurred while the trigger
was disabled.
The trigger's name.
The trigger's type.
If true, the trigger is disabled and does not listen for events or execute.
The ID of the function that the trigger calls when it fires.
This value is the same as event_processors.FUNCTION.function_id.
You can either define the value here or in event_processors.FUNCTION.function_id.
The App Services backend duplicates the value to the configuration location where you did not define it.
For example, if you define function_id, the backend duplicates it to event_processors.FUNCTION.function_id.
The name of the function that the trigger calls when it
fires, i.e. the function described by function_id.
This value is the same as event_processors.FUNCTION.function_name.
You can either define the value here or in event_processors.FUNCTION.function_name.
The App Services backend duplicates the value to the configuration location where you did not define it.
For example, if you define function_name, the backend duplicates it to event_processors.FUNCTION.function_name.
2 nested properties
1 nested properties
2 nested properties
The ID of the function that the trigger calls when it fires.
This value is the same as the root-level function_id.
You can either define the value here or in function_id.
The App Services backend duplicates the value to the configuration location where you did not define it.
For example, if you define event_processors.FUNCTION.function_id, the backend duplicates it to function_id.
The name of the function that the trigger calls when it
fires, i.e. the function described by function_id.
This value is the same as the root-level function_name.
You can either define the value here or in function_name.
The App Services backend duplicates the value to the configuration location where you did not define it.
For example, if you define event_processors.FUNCTION.function_name, the backend duplicates it to function_name.
1 nested properties
3 nested properties
An AWS Account ID.
An AWS region.
If true, event objects are serialized using EJSON.
Definitions
The type of authentication event that the trigger listens for.
The type(s) of authentication provider that the trigger listens to.
1 nested properties
2 nested properties
The ID of the function that the trigger calls when it fires.
This value is the same as the root-level function_id.
You can either define the value here or in function_id.
The App Services backend duplicates the value to the configuration location where you did not define it.
For example, if you define event_processors.FUNCTION.function_id, the backend duplicates it to function_id.
The name of the function that the trigger calls when it
fires, i.e. the function described by function_id.
This value is the same as the root-level function_name.
You can either define the value here or in function_name.
The App Services backend duplicates the value to the configuration location where you did not define it.
For example, if you define event_processors.FUNCTION.function_name, the backend duplicates it to function_name.
1 nested properties
3 nested properties
An AWS Account ID.
An AWS region.
If true, event objects are serialized using EJSON.
The _id value of a linked MongoDB data source.
See Get a Data Source.
The name of a database in the linked data source.
The name of a collection in the specified database. The trigger listens to events from this collection.
The type(s) of MongoDB change event that the trigger listens for.
A $match expression filters change events. The trigger will only fire if the expression evaluates to true for a given change event.
If true, indicates that UPDATE change events should
include the most current
majority-committed
version of the modified document in the fullDocument
field.
If true, indicates that UPDATE change events should
include a snapshot of the modified document from
immediately before the update was applied.
You must enable document preimages for your cluster to include these snapshots.
If true, enabling the Trigger after it was disabled
will not invoke events that occurred while the Trigger
was disabled.
If true, when this Trigger's resume token
cannot be found in the cluster's oplog, the Trigger automatically resumes
processing events at the next relevant change stream event.
All change stream events from when the Trigger was suspended until the Trigger
resumes execution do not have the Trigger fire for them.
If true, event ordering is disabled and this Trigger
can process events in parallel. If false, event
ordering is enabled and the Trigger executes events
serially.
A cron expression that specifies when the trigger executes.
If true, enabling the trigger after it was disabled
will not invoke events that occurred while the trigger
was disabled.