CmdID / aws / aws securitylake
aws securitylake update-subscriber-notification
Updates an existing notification method for the subscription (SQS or HTTPs endpoint) or switches the notification subscription endpoint for a subscriber. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To update a subscriber notification
The following update-subscriber-notification example shows how you can update the notification method for a subscriber.
aws securitylake update-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 subscription ID for which the subscription notification is specified.--configurationThe configuration for 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
--configurationThe configuration for subscriber notification.--subscriber-idThe subscription ID for which the subscription notification is specified.