amazon s3 - Collecting output of a cloud formation template using java -


i writing aws cloud formation template create s3 bucket resource , template returns arn of newly created s3 bucket. template working fine on aws cloud formation web console. need deploy template using awscloudformationclient in java. there not producing output.. me out of this..

here's code

    string stackid=createstack("mys3bucket");     system.out.println("stack created "+stackid+"stackid");     describestacksresult results=cloudformation.describestacks();     list<stack> stacks=results.getstacks();     system.out.println("stacks "+stacks);     for(stack stack:stacks)     {         system.out.println(stack.withstackid(stackid).getoutputs());     } 

thanks & regards


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -