Skip to content

Commit

Permalink
docs: Add SSM Public Param usage to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
malachi-constant committed Nov 15, 2023
1 parent 65f89c8 commit 40dd2e4
Show file tree
Hide file tree
Showing 2 changed files with 20 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.
20 changes: 20 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,26 @@ 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 40dd2e4

Please sign in to comment.