DATASOURCE::RAM::AccountAlias类型用于查看云账号别名。
返回值
Fn::GetAtt
AccountAlias:账号别名。
示例
YAML
格式ROSTemplateFormatVersion: '2015-09-01' Resources: AccountAlias: Type: DATASOURCE::RAM::AccountAlias Properties: {} Outputs: AccountAlias: Description: Account alias. Value: Fn::GetAtt: - AccountAlias - AccountAlias
JSON
格式{ "ROSTemplateFormatVersion": "2015-09-01", "Resources": { "AccountAlias": { "Type": "DATASOURCE::RAM::AccountAlias", "Properties": {} } }, "Outputs": { "AccountAlias": { "Description": "Account alias.", "Value": { "Fn::GetAtt": [ "AccountAlias", "AccountAlias" ] } } } }