aws-amplify / aws-amplify/docs

Examples of CDK AmplifyDependentResourcesAttributes dynamic reference use

Open
#5,970 0 comments 0 reactions 0 assignees View on GitHub
amplify/cli
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

https://docs.amplify.aws/cli/custom/cdk/#reference-amplify-generated-resources
On this page you specify that you can use the `AmplifyDependentResourcesAttributes` to reference resources:
`Then use the cdk.Fn.ref function to create a dynamic reference of the dependencies' outputs.`

What would be good here is examples of how to use this dynamic reference.

Contributor guide

Open the contributing guide

Research direction

Open the linked Amplify CLI custom CDK documentation page and find the section describing AmplifyDependentResourcesAttributes and cdk.Fn.ref. Add clear examples showing how to use the dynamic reference, then verify that the examples render correctly and match the surrounding guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.