Aws-cdk: CfnIdentityPool missing identityPoolId

Created on 18 Jul 2019  路  3Comments  路  Source: aws/aws-cdk

Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.

  • I'm submitting a ...

    • [x] :beetle: bug report
    • [ ] :rocket: feature request
    • [x] :books: construct library gap
    • [ ] :phone: security issue or vulnerability => Please see policy
    • [ ] :question: support request => Please see note at the top of this template.
  • What is the current behavior?
    If the current behavior is a :beetle:bug:beetle:: Please provide the steps to reproduce

CfnIdentityPool in aws-cognito has no identityPoolId any more. This id is required for CfnIdentityPoolRoleAttachment (CfnIdentityPoolRoleAttachmentProps)

  • What is the expected behavior (or behavior of feature suggested)?

This attribute existed in 0.31.0 at least

  • What is the motivation / use case for changing the behavior or adding this feature?

  • Please tell us about your environment:

    • CDK CLI Version: 1.0.0
    • Module Version: 1.0.0
    • OS: [all | Windows 10 | OSX Mojave | Ubuntu | etc... ]
    • Language: TypeScript
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)

needs-triage

Most helpful comment

As of v1.0.0 you need to use ref.

const pool = new CfnIdentifyPool(this, 'Pool', ...);
const id = pool.ref;

All 3 comments

As of v1.0.0 you need to use ref.

const pool = new CfnIdentifyPool(this, 'Pool', ...);
const id = pool.ref;

Thanks

had same issue, perhaps the docs on ref property could be improved a bit to make it obvious that this resolves in the identityPoolId format?
Best regards,

Was this page helpful?
0 / 5 - 0 ratings