MongoDB Atlas v3.18.0 published on Thursday, Sep 12, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getEventTriggers:getEventTriggers
arguments:
# arguments dictionary
The following arguments are supported:
- app_
id str - The ObjectID of your application.
- For more details on
project_id
andapp_id
see: 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:
- App
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Results
List<Get
Event Triggers Result> - A list where each represents a Event Trigger.
- App
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Results
[]Get
Event Triggers Result - A list where each represents a Event Trigger.
- app
Id String - id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - results
List<Get
Event Triggers Result> - A list where each represents a Event Trigger.
- app
Id string - id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - results
Get
Event 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[Get
Event Triggers Result] - A list where each represents a Event Trigger.
- app
Id String - id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - results List<Property Map>
- A list where each represents a Event Trigger.
Supporting Types
GetEventTriggersResult
- Config
Collection string - The name of the MongoDB collection that the trigger watches for change events.
- Config
Database string - The name of the MongoDB database to watch.
- Config
Full boolDocument - If true, indicates that
UPDATE
change events should include the most current majority-committed version of the modified document in the fullDocument field. - Config
Full boolDocument Before - Config
Match string - A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- Config
Operation stringType - The authentication operation type to listen for.
- Config
Operation List<string>Types - The database event operation types to listen for.
- Config
Project string - A $project expression document that Realm uses to filter the fields that appear in change event objects.
- Config
Providers List<string> - A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- Config
Schedule string - A cron expression that defines the trigger schedule.
- Config
Schedule stringType - Config
Service stringId - The ID of the MongoDB Service associated with the trigger.
- Disabled bool
- Status of a trigger.
- Event
Processors 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.
- Function
Id string - The ID of the function associated with the trigger.
- Function
Name string - The name of the function associated with the trigger.
- Name string
- The name of the trigger.
- Trigger
Id string - Type string
- The type of the trigger. Possible Values:
DATABASE
,AUTHENTICATION
- Unordered bool
- Sort order for
DATABASE
type.
- Config
Collection string - The name of the MongoDB collection that the trigger watches for change events.
- Config
Database string - The name of the MongoDB database to watch.
- Config
Full boolDocument - If true, indicates that
UPDATE
change events should include the most current majority-committed version of the modified document in the fullDocument field. - Config
Full boolDocument Before - Config
Match string - A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- Config
Operation stringType - The authentication operation type to listen for.
- Config
Operation []stringTypes - The database event operation types to listen for.
- Config
Project string - A $project expression document that Realm uses to filter the fields that appear in change event objects.
- Config
Providers []string - A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- Config
Schedule string - A cron expression that defines the trigger schedule.
- Config
Schedule stringType - Config
Service stringId - The ID of the MongoDB Service associated with the trigger.
- Disabled bool
- Status of a trigger.
- Event
Processors []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 string - The ID of the function associated with the trigger.
- Function
Name string - The name of the function associated with the trigger.
- Name string
- The name of the trigger.
- Trigger
Id string - Type string
- The type of the trigger. Possible Values:
DATABASE
,AUTHENTICATION
- Unordered bool
- Sort order for
DATABASE
type.
- config
Collection String - The name of the MongoDB collection that the trigger watches for change events.
- config
Database String - The name of the MongoDB database to watch.
- config
Full BooleanDocument - If true, indicates that
UPDATE
change events should include the most current majority-committed version of the modified document in the fullDocument field. - config
Full BooleanDocument Before - config
Match String - A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- config
Operation StringType - The authentication operation type to listen for.
- config
Operation List<String>Types - The database event operation types to listen for.
- config
Project String - A $project expression document that Realm uses to filter the fields that appear in change event objects.
- config
Providers List<String> - A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- config
Schedule String - A cron expression that defines the trigger schedule.
- config
Schedule StringType - config
Service StringId - The ID of the MongoDB Service associated with the trigger.
- disabled Boolean
- Status of a trigger.
- event
Processors 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.
- function
Id String - The ID of the function associated with the trigger.
- function
Name String - The name of the function associated with the trigger.
- name String
- The name of the trigger.
- trigger
Id String - type String
- The type of the trigger. Possible Values:
DATABASE
,AUTHENTICATION
- unordered Boolean
- Sort order for
DATABASE
type.
- config
Collection string - The name of the MongoDB collection that the trigger watches for change events.
- config
Database string - The name of the MongoDB database to watch.
- config
Full booleanDocument - If true, indicates that
UPDATE
change events should include the most current majority-committed version of the modified document in the fullDocument field. - config
Full booleanDocument Before - config
Match string - A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- config
Operation stringType - The authentication operation type to listen for.
- config
Operation string[]Types - The database event operation types to listen for.
- config
Project string - A $project expression document that Realm uses to filter the fields that appear in change event objects.
- config
Providers string[] - A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- config
Schedule string - A cron expression that defines the trigger schedule.
- config
Schedule stringType - config
Service stringId - The ID of the MongoDB Service associated with the trigger.
- disabled boolean
- Status of a trigger.
- event
Processors 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 string - The ID of the function associated with the trigger.
- function
Name string - The name of the function associated with the trigger.
- name string
- The name of the trigger.
- trigger
Id string - type string
- The type of the trigger. Possible Values:
DATABASE
,AUTHENTICATION
- unordered boolean
- Sort order for
DATABASE
type.
- 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
UPDATE
change 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
DATABASE
type.
- config
Collection String - The name of the MongoDB collection that the trigger watches for change events.
- config
Database String - The name of the MongoDB database to watch.
- config
Full BooleanDocument - If true, indicates that
UPDATE
change events should include the most current majority-committed version of the modified document in the fullDocument field. - config
Full BooleanDocument Before - config
Match String - A $match expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger.
- config
Operation StringType - The authentication operation type to listen for.
- config
Operation List<String>Types - The database event operation types to listen for.
- config
Project String - A $project expression document that Realm uses to filter the fields that appear in change event objects.
- config
Providers List<String> - A list of one or more authentication provider id values. The trigger will only listen for authentication events produced by these providers.
- config
Schedule String - A cron expression that defines the trigger schedule.
- config
Schedule StringType - config
Service StringId - The ID of the MongoDB Service associated with the trigger.
- disabled Boolean
- Status of a trigger.
- event
Processors 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.
- function
Id String - The ID of the function associated with the trigger.
- function
Name String - The name of the function associated with the trigger.
- name String
- The name of the trigger.
- trigger
Id String - type String
- The type of the trigger. Possible Values:
DATABASE
,AUTHENTICATION
- unordered Boolean
- Sort order for
DATABASE
type.
GetEventTriggersResultEventProcessor
GetEventTriggersResultEventProcessorAwsEventbridge
- Config
Account stringId - AWS Account ID.
- Config
Region string - Region of AWS Account.
- Config
Account stringId - AWS Account ID.
- Config
Region string - Region of AWS Account.
- config
Account StringId - AWS Account ID.
- config
Region String - Region of AWS Account.
- config
Account stringId - AWS Account ID.
- config
Region string - Region of AWS Account.
- config_
account_ strid - AWS Account ID.
- config_
region str - Region of AWS Account.
- config
Account StringId - AWS Account ID.
- config
Region 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
mongodbatlas
Terraform Provider.