If you are asking how do you get the name of the bucket created in microservice A, so that you can tell B about it, you could use stack references to access outputs from A and assign them as inputs to some service when you are building B in your CI/CD pipeline.