AWS Security ChangesHomeSearch

AWS cdk documentation change

Service: cdk · 2025-05-16 · Documentation low

File: cdk/v1/guide/get-ssm-value.md

Summary

Updated API documentation links from CDK v1 to CDK v2 references for SSM parameter methods

Security assessment

The changes only update version numbers in API documentation links and do not introduce new security considerations or address vulnerabilities. The content about secure string parameters remains functionally equivalent.

Diff

diff --git a/cdk/v1/guide/get-ssm-value.md b/cdk/v1/guide/get-ssm-value.md
index 50d549061..6dca63976 100644
--- a//cdk/v1/guide/get-ssm-value.md
+++ b//cdk/v1/guide/get-ssm-value.md
@@ -19 +19 @@ This topic shows how to read attributes from the AWS Systems Manager Parameter S
-To read values from the Systems Manager Parameter Store, use the [valueForStringParameter](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ssm.StringParameter.html#static-value-for-string-parameterscope-parametername-version) and [valueForSecureStringParameter](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ssm.StringParameter.html#static-value-for-secure-string-parameterscope-parametername-version) methods, depending on whether the attribute you want is a plain string or a secure string value. These methods return [tokens](./tokens.html), not the actual value. The value is resolved by AWS CloudFormation during deployment.
+To read values from the Systems Manager Parameter Store, use the [valueForStringParameter](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ssm.StringParameter.html#static-valuewbrforwbrstringwbrparameterscope-parametername-version) and [valueForSecureStringParameter](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ssm.StringParameter.html#static-valuewbrforwbrsecurewbrstringwbrparameterscope-parametername-version) methods, depending on whether the attribute you want is a plain string or a secure string value. These methods return [tokens](./tokens.html), not the actual value. The value is resolved by AWS CloudFormation during deployment.
@@ -107 +107 @@ It is sometimes useful to "bake in" a parameter at synthesis time, so that the r
-To read a value from the Systems Manager parameter store at synthesis time, use the [valueFromLookup](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-ssm.StringParameter.html#static-value-wbr-from-wbr-lookupscope-parametername) method (Python: `value_from_lookup`). This method returns the actual value of the parameter as a [Runtime context](./context.html) value. If the value is not already cached in `cdk.json` or passed on the command line, it will be retrieved from the current AWS account. For this reason, the stack _must_ be synthesized with explicit account and region information.
+To read a value from the Systems Manager parameter store at synthesis time, use the [valueFromLookup](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ssm.StringParameter.html#static-value-wbr-from-wbr-lookupscope-parametername) method (Python: `value_from_lookup`). This method returns the actual value of the parameter as a [Runtime context](./context.html) value. If the value is not already cached in `cdk.json` or passed on the command line, it will be retrieved from the current AWS account. For this reason, the stack _must_ be synthesized with explicit account and region information.