MongoDB Atlas v3.30.0 published on Friday, Mar 21, 2025 by Pulumi
mongodbatlas.getEventTriggers
Explore with Pulumi AI
# Data Source: mongodbatlas.getEventTriggers
mongodbatlas.getEventTriggers describes all Event Triggers.
Using getEventTriggers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEventTriggers(args: GetEventTriggersArgs, opts?: InvokeOptions): Promise<GetEventTriggersResult>
function getEventTriggersOutput(args: GetEventTriggersOutputArgs, opts?: InvokeOptions): Output<GetEventTriggersResult>def get_event_triggers(app_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetEventTriggersResult
def get_event_triggers_output(app_id: Optional[pulumi.Input[str]] = None,
                       project_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetEventTriggersResult]func LookupEventTriggers(ctx *Context, args *LookupEventTriggersArgs, opts ...InvokeOption) (*LookupEventTriggersResult, error)
func LookupEventTriggersOutput(ctx *Context, args *LookupEventTriggersOutputArgs, opts ...InvokeOption) LookupEventTriggersResultOutput> Note: This function is named LookupEventTriggers in the Go SDK.
public static class GetEventTriggers 
{
    public static Task<GetEventTriggersResult> InvokeAsync(GetEventTriggersArgs args, InvokeOptions? opts = null)
    public static Output<GetEventTriggersResult> Invoke(GetEventTriggersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEventTriggersResult> getEventTriggers(GetEventTriggersArgs args, InvokeOptions options)
public static Output<GetEventTriggersResult> getEventTriggers(GetEventTriggersArgs args, InvokeOptions options)
fn::invoke:
  function: mongodbatlas:index/getEventTriggers:getEventTriggers
  arguments:
    # arguments dictionaryThe following arguments are supported:
- app_id str
- The ObjectID of your application.- For more details on project_idandapp_idsee: https://www.mongodb.com/docs/atlas/app-services/admin/api/v3/#section/Project-and-Application-IDs
 
- For more details on 
- project_id str
- The unique ID for the project to get all event triggers.
getEventTriggers Result
The following output properties are available:
- AppId string
- Id string
- The provider-assigned unique ID for this managed resource.
- ProjectId string
- Results
List<GetEvent Triggers Result> 
- A list where each represents a Event Trigger.
- AppId string
- Id string
- The provider-assigned unique ID for this managed resource.
- ProjectId string
- Results
[]GetEvent Triggers Result 
- A list where each represents a Event Trigger.
- appId String
- id String
- The provider-assigned unique ID for this managed resource.
- projectId String
- results
List<GetEvent Triggers Result> 
- A list where each represents a Event Trigger.
- appId string
- id string
- The provider-assigned unique ID for this managed resource.
- projectId string
- results
GetEvent Triggers Result[] 
- A list where each represents a Event Trigger.
- app_id str
- id str
- The provider-assigned unique ID for this managed resource.
- project_id str
- results
Sequence[GetEvent Triggers Result] 
- A list where each represents a Event Trigger.
- appId String
- id String
- The provider-assigned unique ID for this managed resource.
- projectId String
- results List<Property Map>
- A list where each represents a Event Trigger.
Supporting Types
GetEventTriggersResult   
- ConfigCollection string
- The name of the MongoDB collection that the trigger watches for change events.
- ConfigDatabase string
- The name of the MongoDB database to watch.
- ConfigFull boolDocument 
- If true, indicates that UPDATEchange events should include the most current majority-committed version of the modified document in the fullDocument field.
- ConfigFull boolDocument Before 
- ConfigMatch string
- A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- ConfigOperation stringType 
- The authentication operation type to listen for.
- ConfigOperation List<string>Types 
- The database event operation types to listen for.
- ConfigProject string
- A $project expression document that Realm uses to filter the fields that appear in change event objects.
- ConfigProviders List<string>
- A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- ConfigSchedule string
- A cron expression that defines the trigger schedule.
- ConfigSchedule stringType 
- ConfigService stringId 
- The ID of the MongoDB Service associated with the trigger.
- Disabled bool
- Status of a trigger.
- EventProcessors List<GetEvent Triggers Result Event Processor> 
- An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor.
- FunctionId string
- The ID of the function associated with the trigger.
- FunctionName string
- The name of the function associated with the trigger.
- Name string
- The name of the trigger.
- TriggerId string
- Type string
- The type of the trigger. Possible Values: DATABASE,AUTHENTICATION
- Unordered bool
- Sort order for DATABASEtype.
- ConfigCollection string
- The name of the MongoDB collection that the trigger watches for change events.
- ConfigDatabase string
- The name of the MongoDB database to watch.
- ConfigFull boolDocument 
- If true, indicates that UPDATEchange events should include the most current majority-committed version of the modified document in the fullDocument field.
- ConfigFull boolDocument Before 
- ConfigMatch string
- A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- ConfigOperation stringType 
- The authentication operation type to listen for.
- ConfigOperation []stringTypes 
- The database event operation types to listen for.
- ConfigProject string
- A $project expression document that Realm uses to filter the fields that appear in change event objects.
- ConfigProviders []string
- A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- ConfigSchedule string
- A cron expression that defines the trigger schedule.
- ConfigSchedule stringType 
- ConfigService stringId 
- The ID of the MongoDB Service associated with the trigger.
- Disabled bool
- Status of a trigger.
- EventProcessors []GetEvent Triggers Result Event Processor 
- An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor.
- FunctionId string
- The ID of the function associated with the trigger.
- FunctionName string
- The name of the function associated with the trigger.
- Name string
- The name of the trigger.
- TriggerId string
- Type string
- The type of the trigger. Possible Values: DATABASE,AUTHENTICATION
- Unordered bool
- Sort order for DATABASEtype.
- configCollection String
- The name of the MongoDB collection that the trigger watches for change events.
- configDatabase String
- The name of the MongoDB database to watch.
- configFull BooleanDocument 
- If true, indicates that UPDATEchange events should include the most current majority-committed version of the modified document in the fullDocument field.
- configFull BooleanDocument Before 
- configMatch String
- A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- configOperation StringType 
- The authentication operation type to listen for.
- configOperation List<String>Types 
- The database event operation types to listen for.
- configProject String
- A $project expression document that Realm uses to filter the fields that appear in change event objects.
- configProviders List<String>
- A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- configSchedule String
- A cron expression that defines the trigger schedule.
- configSchedule StringType 
- configService StringId 
- The ID of the MongoDB Service associated with the trigger.
- disabled Boolean
- Status of a trigger.
- eventProcessors List<GetEvent Triggers Result Event Processor> 
- An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor.
- functionId String
- The ID of the function associated with the trigger.
- functionName String
- The name of the function associated with the trigger.
- name String
- The name of the trigger.
- triggerId String
- type String
- The type of the trigger. Possible Values: DATABASE,AUTHENTICATION
- unordered Boolean
- Sort order for DATABASEtype.
- configCollection string
- The name of the MongoDB collection that the trigger watches for change events.
- configDatabase string
- The name of the MongoDB database to watch.
- configFull booleanDocument 
- If true, indicates that UPDATEchange events should include the most current majority-committed version of the modified document in the fullDocument field.
- configFull booleanDocument Before 
- configMatch string
- A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- configOperation stringType 
- The authentication operation type to listen for.
- configOperation string[]Types 
- The database event operation types to listen for.
- configProject string
- A $project expression document that Realm uses to filter the fields that appear in change event objects.
- configProviders string[]
- A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- configSchedule string
- A cron expression that defines the trigger schedule.
- configSchedule stringType 
- configService stringId 
- The ID of the MongoDB Service associated with the trigger.
- disabled boolean
- Status of a trigger.
- eventProcessors GetEvent Triggers Result Event Processor[] 
- An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor.
- functionId string
- The ID of the function associated with the trigger.
- functionName string
- The name of the function associated with the trigger.
- name string
- The name of the trigger.
- triggerId string
- type string
- The type of the trigger. Possible Values: DATABASE,AUTHENTICATION
- unordered boolean
- Sort order for DATABASEtype.
- config_collection str
- The name of the MongoDB collection that the trigger watches for change events.
- config_database str
- The name of the MongoDB database to watch.
- config_full_ booldocument 
- If true, indicates that UPDATEchange events should include the most current majority-committed version of the modified document in the fullDocument field.
- config_full_ booldocument_ before 
- config_match str
- A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- config_operation_ strtype 
- The authentication operation type to listen for.
- config_operation_ Sequence[str]types 
- The database event operation types to listen for.
- config_project str
- A $project expression document that Realm uses to filter the fields that appear in change event objects.
- config_providers Sequence[str]
- A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- config_schedule str
- A cron expression that defines the trigger schedule.
- config_schedule_ strtype 
- config_service_ strid 
- The ID of the MongoDB Service associated with the trigger.
- disabled bool
- Status of a trigger.
- event_processors Sequence[GetEvent Triggers Result Event Processor] 
- An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor.
- function_id str
- The ID of the function associated with the trigger.
- function_name str
- The name of the function associated with the trigger.
- name str
- The name of the trigger.
- trigger_id str
- type str
- The type of the trigger. Possible Values: DATABASE,AUTHENTICATION
- unordered bool
- Sort order for DATABASEtype.
- configCollection String
- The name of the MongoDB collection that the trigger watches for change events.
- configDatabase String
- The name of the MongoDB database to watch.
- configFull BooleanDocument 
- If true, indicates that UPDATEchange events should include the most current majority-committed version of the modified document in the fullDocument field.
- configFull BooleanDocument Before 
- configMatch String
- A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- configOperation StringType 
- The authentication operation type to listen for.
- configOperation List<String>Types 
- The database event operation types to listen for.
- configProject String
- A $project expression document that Realm uses to filter the fields that appear in change event objects.
- configProviders List<String>
- A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- configSchedule String
- A cron expression that defines the trigger schedule.
- configSchedule StringType 
- configService StringId 
- The ID of the MongoDB Service associated with the trigger.
- disabled Boolean
- Status of a trigger.
- eventProcessors List<Property Map>
- An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor.
- functionId String
- The ID of the function associated with the trigger.
- functionName String
- The name of the function associated with the trigger.
- name String
- The name of the trigger.
- triggerId String
- type String
- The type of the trigger. Possible Values: DATABASE,AUTHENTICATION
- unordered Boolean
- Sort order for DATABASEtype.
GetEventTriggersResultEventProcessor     
GetEventTriggersResultEventProcessorAwsEventbridge       
- ConfigAccount stringId 
- AWS Account ID.
- ConfigRegion string
- Region of AWS Account.
- ConfigAccount stringId 
- AWS Account ID.
- ConfigRegion string
- Region of AWS Account.
- configAccount StringId 
- AWS Account ID.
- configRegion String
- Region of AWS Account.
- configAccount stringId 
- AWS Account ID.
- configRegion string
- Region of AWS Account.
- config_account_ strid 
- AWS Account ID.
- config_region str
- Region of AWS Account.
- configAccount StringId 
- AWS Account ID.
- configRegion String
- Region of AWS Account.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the mongodbatlasTerraform Provider.