GetAssociatedResource
Source:
src/AWS/AppRegistry/GetAssociatedResource.ts
Runtime binding for servicecatalog:GetAssociatedResource.
Reads one resource associated with the bound application, including its
application-tag sync status. Provide the implementation with
Effect.provide(AWS.AppRegistry.GetAssociatedResourceHttp).
Reading Associated Resources
Section titled “Reading Associated Resources”// init — bind the operation to the applicationconst getAssociatedResource = yield* AWS.AppRegistry.GetAssociatedResource(app);
// runtimeconst result = yield* getAssociatedResource({ resourceType: "CFN_STACK", resource: "my-stack",});console.log(result.resource?.arn);