Aws-cdk: ssm ssm.StringParameter.from_string_parameter_name fails 'Resource' object has no attribute 'string_value'

Created on 12 Nov 2019  路  2Comments  路  Source: aws/aws-cdk


When using ssm to retrieve the value by string parameter name it fails.


param = ssm.StringParameter.from_string_parameter_name(
              self,
              "ssmParam",
               string_parameter_name="parameterName",
             )

Error Log

'Resource' object has no attribute 'string_value'
{'__jsii_ref__': ObjRef(ref='@aws-cdk/core.Resource@10522', interfaces=['@aws-cdk/aws-ssm.IStringParameter'])}

Environment

  • **CLI Version :1.15.0, 1.16.0, 1.16.2
  • *Framework Version: *
  • **OS : Ubuntu 18.2
  • **Language :Python

Other


This is :bug: Bug Report

@aws-cdaws-ssm bug duplicate languagpython needs-triage p0

Most helpful comment

Closing as duplicate

All 2 comments

Seems to be a duplicate of #4982

Closing as duplicate

Was this page helpful?
0 / 5 - 0 ratings