diff --git a/docs/source/_static/ssm_public_parameters.png b/docs/source/_static/ssm_public_parameters.png new file mode 100644 index 000000000..f31098c48 Binary files /dev/null and b/docs/source/_static/ssm_public_parameters.png differ diff --git a/docs/source/install.rst b/docs/source/install.rst index 4cb03d08a..1227591e5 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -79,6 +79,28 @@ For example: ``arn:aws:lambda:us-east-1:336392948345:layer:AWSSDKPandas-Python38 The full list of ARNs is available `here `__. +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 ^^^^^^^^^^^^^^