DATASOURCE::RAM::AccountAlias

Updated at: 2025-02-05 08:02

DATASOURCE::RAM::AccountAlias is used to query the alias of a cloud account.

Syntax

{
  "Type": "DATASOURCE::RAM::AccountAlias",
  "Properties": {
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Property

Type

Required

Editable

Description

Constraint

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values

Fn::GetAtt

AccountAlias: the alias of the account.

Examples

YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Resources:
  AccountAlias:
    Type: DATASOURCE::RAM::AccountAlias
    Properties: {}
Outputs:
  AccountAlias:
    Description: Account alias.
    Value:
      Fn::GetAtt:
        - AccountAlias
        - AccountAlias
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "AccountAlias": {
      "Type": "DATASOURCE::RAM::AccountAlias",
      "Properties": {}
    }
  },
  "Outputs": {
    "AccountAlias": {
      "Description": "Account alias.",
      "Value": {
        "Fn::GetAtt": [
          "AccountAlias",
          "AccountAlias"
        ]
      }
    }
  }
}
                        
  • On this page (1, T)
  • Syntax
  • Properties
  • Return values
  • Examples
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare