Skip to content

Commit

Permalink
docs: Add SSM Public Param usage to docs (#2521)
Browse files Browse the repository at this point in the history
* docs: Add SSM Public Param usage to docs

* fixing doc8 checks
  • Loading branch information
malachi-constant authored Nov 15, 2023
1 parent 65f89c8 commit b3f39c5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Binary file added docs/source/_static/ssm_public_parameters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,28 @@ For example: ``arn:aws:lambda:us-east-1:336392948345:layer:AWSSDKPandas-Python38

The full list of ARNs is available `here <layers.rst>`__.

Layer ARNs can also be obtained from SSM public parameters.

**Console:**

.. image:: _static/ssm_public_parameters.png
:alt: SSM Public Parameters

**CLI:**
Find all layers for a version of the library.

.. code-block:: sh
aws ssm describe-parameters --parameter-filters "Key=Name, Option=BeginsWith, Values=/aws/service/aws-sdk-pandas/3.4.0/"
**CDK:**

.. code-block:: python
sdk_for_pandas_layer_arn = ssm.StringParameter.from_string_parameter_attributes(self, "MyValue",
parameter_name="/aws/service/aws-sdk-pandas/3.4.0/py3.10/x86_64/layer-arn"
).string_value
Custom Layer
^^^^^^^^^^^^^^

Expand Down

0 comments on commit b3f39c5

Please sign in to comment.