admin管理员组文章数量:1292975
To be explicit, the code uses the following class: aws_cdk.aws_sso import CfnPermissionSet
with the inline_policy
argument.
After it's deployed, there is a role that matches that inline_policy
. I'm looking for a way to use that role arn within the stack, to allow me to set it as a principal in another role for a sts:AssumeRole
grant.
I've read somewhere that getting the ref
of the CfnPermissionSet would yield an arn that I can use some string replace over to get the role, but that does not work. The automatically generated ids don't match between the PermissionSet arn and the role arn.
本文标签:
版权声明:本文标题:python - In AWS CDK, how can we get the arn from the role that is created along with an aws_sso.CfnPermissionSet? - Stack Overfl 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741565553a2385700.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论