DATASOURCE::RAM::AccountAlias類型用于查看云賬號別名。
Fn::GetAtt
AccountAlias:賬號別名。
YAML格式
YAML
ROSTemplateFormatVersion: '2015-09-01' Resources: AccountAlias: Type: DATASOURCE::RAM::AccountAlias Properties: {} Outputs: AccountAlias: Description: Account alias. Value: Fn::GetAtt: - AccountAlias - AccountAlias
JSON格式
JSON
{ "ROSTemplateFormatVersion": "2015-09-01", "Resources": { "AccountAlias": { "Type": "DATASOURCE::RAM::AccountAlias", "Properties": {} } }, "Outputs": { "AccountAlias": { "Description": "Account alias.", "Value": { "Fn::GetAtt": [ "AccountAlias", "AccountAlias" ] } } } }