Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add SSM Public Param usage to docs #2521

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading