Skip to content

Create Subscriber Notification

securitylake_create_subscriber_notification R Documentation

Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake

Description

Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake. You can create only one subscriber notification per subscriber.

Usage

securitylake_create_subscriber_notification(configuration, subscriberId)

Arguments

configuration

[required] Specify the configuration using which you want to create the subscriber notification.

subscriberId

[required] The subscriber ID for the notification subscription.

Value

A list with the following syntax:

list(
  subscriberEndpoint = "string"
)

Request syntax

svc$create_subscriber_notification(
  configuration = list(
    httpsNotificationConfiguration = list(
      authorizationApiKeyName = "string",
      authorizationApiKeyValue = "string",
      endpoint = "string",
      httpMethod = "POST"|"PUT",
      targetRoleArn = "string"
    ),
    sqsNotificationConfiguration = list()
  ),
  subscriberId = "string"
)