mirror of
https://github.com/awslabs/amazon-bedrock-agentcore-samples.git
synced 2025-09-08 20:50:46 +00:00
* feat(customer-support): updated code * Delete 02-use-cases/customer-support-assistant/Dockerfile Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com> * Update .gitignore Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com> --------- Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>
10 lines
236 B
Python
10 lines
236 B
Python
import boto3
|
|
|
|
|
|
def get_ssm_parameter(name: str, with_decryption: bool = True) -> str:
|
|
ssm = boto3.client("ssm")
|
|
|
|
response = ssm.get_parameter(Name=name, WithDecryption=with_decryption)
|
|
|
|
return response["Parameter"]["Value"]
|