mongodbatlas.getEventTrigger
mongodbatlas.EventTrigger
describe an Event Trigger.
Using getEventTrigger
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 getEventTrigger(args: GetEventTriggerArgs, opts?: InvokeOptions): Promise<GetEventTriggerResult>
function getEventTriggerOutput(args: GetEventTriggerOutputArgs, opts?: InvokeOptions): Output<GetEventTriggerResult>
def get_event_trigger(app_id: Optional[str] = None,
project_id: Optional[str] = None,
trigger_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventTriggerResult
def get_event_trigger_output(app_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
trigger_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventTriggerResult]
func LookupEventTrigger(ctx *Context, args *LookupEventTriggerArgs, opts ...InvokeOption) (*LookupEventTriggerResult, error)
func LookupEventTriggerOutput(ctx *Context, args *LookupEventTriggerOutputArgs, opts ...InvokeOption) LookupEventTriggerResultOutput
> Note: This function is named LookupEventTrigger
in the Go SDK.
public static class GetEventTrigger
{
public static Task<GetEventTriggerResult> InvokeAsync(GetEventTriggerArgs args, InvokeOptions? opts = null)
public static Output<GetEventTriggerResult> Invoke(GetEventTriggerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventTriggerResult> getEventTrigger(GetEventTriggerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getEventTrigger:getEventTrigger
arguments:
# arguments dictionary
The following arguments are supported:
- App
Id string 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 string The unique ID for the project to create the trigger.
- Trigger
Id string The unique ID of the trigger.
- App
Id string 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 string The unique ID for the project to create the trigger.
- Trigger
Id string The unique ID of the trigger.
- app
Id String 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 String The unique ID for the project to create the trigger.
- trigger
Id String The unique ID of the trigger.
- app
Id string 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 string The unique ID for the project to create the trigger.
- trigger
Id string The unique ID of the trigger.
- 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 create the trigger.
- trigger_
id str The unique ID of the trigger.
- app
Id String 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 String The unique ID for the project to create the trigger.
- trigger
Id String The unique ID of the trigger.
getEventTrigger Result
The following output properties are available:
- App
Id string - 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 that contains the watched collection.
- 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 Trigger 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.
event_processors.0.aws_eventbridge.config_account_id
- AWS Account ID.event_processors.0.aws_eventbridge.config_region
- Region of AWS Account.
- Function
Id string The ID of the function associated with the trigger.
- Function
Name string The name of the function associated with the trigger.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the trigger.
- Project
Id string - Trigger
Id string - Type string
The type of the trigger.
- Unordered bool
Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
- App
Id string - 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 that contains the watched collection.
- 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 Trigger 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.
event_processors.0.aws_eventbridge.config_account_id
- AWS Account ID.event_processors.0.aws_eventbridge.config_region
- Region of AWS Account.
- Function
Id string The ID of the function associated with the trigger.
- Function
Name string The name of the function associated with the trigger.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the trigger.
- Project
Id string - Trigger
Id string - Type string
The type of the trigger.
- Unordered bool
Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
- app
Id String - 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 that contains the watched collection.
- 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 Trigger 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.
event_processors.0.aws_eventbridge.config_account_id
- AWS Account ID.event_processors.0.aws_eventbridge.config_region
- Region of AWS Account.
- function
Id String The ID of the function associated with the trigger.
- function
Name String The name of the function associated with the trigger.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the trigger.
- project
Id String - trigger
Id String - type String
The type of the trigger.
- unordered Boolean
Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
- app
Id string - 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 that contains the watched collection.
- 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 Trigger 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.
event_processors.0.aws_eventbridge.config_account_id
- AWS Account ID.event_processors.0.aws_eventbridge.config_region
- Region of AWS Account.
- function
Id string The ID of the function associated with the trigger.
- function
Name string The name of the function associated with the trigger.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of the trigger.
- project
Id string - trigger
Id string - type string
The type of the trigger.
- unordered boolean
Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
- app_
id str - 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 that contains the watched collection.
- 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 Trigger 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.
event_processors.0.aws_eventbridge.config_account_id
- AWS Account ID.event_processors.0.aws_eventbridge.config_region
- Region of AWS Account.
- function_
id str The ID of the function associated with the trigger.
- function_
name str The name of the function associated with the trigger.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of the trigger.
- project_
id str - trigger_
id str - type str
The type of the trigger.
- unordered bool
Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
- app
Id String - 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 that contains the watched collection.
- 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.
event_processors.0.aws_eventbridge.config_account_id
- AWS Account ID.event_processors.0.aws_eventbridge.config_region
- Region of AWS Account.
- function
Id String The ID of the function associated with the trigger.
- function
Name String The name of the function associated with the trigger.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the trigger.
- project
Id String - trigger
Id String - type String
The type of the trigger.
- unordered Boolean
Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
Supporting Types
GetEventTriggerEventProcessor
GetEventTriggerEventProcessorAwsEventbridge
- Config
Account stringId - Config
Region string
- Config
Account stringId - Config
Region string
- config
Account StringId - config
Region String
- config
Account stringId - config
Region string
- config_
account_ strid - config_
region str
- config
Account StringId - config
Region String
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.