1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00
Created common bucket notification for includes
Add include to the bucket notification `Publish Events to <service>` files.

Wording update, numbering fixes for bucket notifications

Adding .DS_Store to `gitignore`.

Ignoring .DS_Store

Delete .DS_Store
This commit is contained in:
Daryl White
2022-03-23 15:41:40 -05:00
committed by Ravind Kumar
parent 4d473c758b
commit 3d7d122aea
14 changed files with 145 additions and 82 deletions

View File

@ -0,0 +1,36 @@
.. start-bucket-notification-find-arn
.. admonition:: Identifying the ARN for your bucket notifications
:class: note
You defined the ``<IDENTIFIER>`` to assign to the target ARN for your bucket notifications when creating the endpoint previously.
The steps below return the ARNs configured on the deployment.
Identify the ARN created previously by looking for the ``<IDENTIFIER>`` you specified.
**Review the JSON output**
#. Copy and run the following command, replacing ``ALIAS`` with the :ref:`alias <alias>` of the deployment.
.. code-block:: shell
:class: copyable
mc admin info --json ALIAS
#. In the JSON output, look for the key ``info.sqsARN``.
The ARN you need is the value of that key that matches the ``<IDENTIFIER>`` you specified.
For example, |ARN|.
**Use jq to parse the JSON for the value**
#. `Install jq <https://stedolan.github.io/jq/>`_
#. Copy and run the following command, replacing ``ALIAS`` with the :ref:`alias <alias>` of the deployment.
.. code-block:: shell
:class: copyable
mc admin info --json ALIAS | jq .info.sqsARN
This returns the ARN to use for notifications, such as |ARN|
.. end-bucket-notification-find-arn