CmdID / aws / aws securitylake
aws securitylake create-subscriber-notification
Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To create a subscriber notification
The following create-subscriber-notification example shows how to specify subscriber notification to create a notification when new data is written to the data lake.
aws securitylake create-subscriber-notification --subscriber-id "12345ab8-1a34-1c34-1bd4-12345ab9012" --configuration '{"httpsNotificationConfiguration": {"targetRoleArn":"arn:aws:iam::XXX:role/service-role/RoleName", "endpoint":"https://account-management.$3.$2.securitylake.aws.dev/v1/datalake"}}'Identify--subscriber-idThe subscriber ID for the notification subscription.--configurationSpecify the configuration using which you want to create the subscriber notification.Its output
{
"subscriberEndpoint": "https://account-management.$3.$2.securitylake.aws.dev/v1/datalake"
}For more information, see Subscriber management in the Amazon Security Lake User Guide.
Options
--configurationSpecify the configuration using which you want to create the subscriber notification.--subscriber-idThe subscriber ID for the notification subscription.