[英]How do you determine the ARN of a Redshift cluster via the AWS API?
我正在尝试使用CreateTags( http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateTags.html)将标签添加到Redshift集群中,您会注意到它需要ARN作为资源。
但是,当您调用DescribeClusters时, http: //docs.aws.amazon.com/redshift/latest/APIReference/API_DescribeClusters.html不会返回任何ARN。
是否有其他一些API调用来检索ARN,还是必须手动构造它?
ARN格式在此处记录 。 专门针对Redshift集群,ARN格式为:
arn:aws:redshift:region:account-id:cluster:cluster-name
如果您知道区域,帐户ID和群集名称,则可以构造ARN。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.