DATASOURCE::GraphDatabase::Accounts is used to query the information about accounts.
Syntax
{
"Type": "DATASOURCE::GraphDatabase::Accounts",
"Properties": {
"DbInstanceId": String,
"AccountName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
DbInstanceId | String | Yes | Yes | The ID of the Graph Database (GDB) instance. | None. |
AccountName | String | No | Yes | The name of the account. | None. |
Return values
Fn::GetAtt
- AccountNames: the names of the accounts.
- Accounts: details of the accounts.
Property | Type | Description | Constraint |
---|---|---|---|
AccountNames | List | The names of the accounts. | None. |
Accounts | List | Details of the accounts. | None. |
Status | String | The state of the account. | None. |
AccountDescription | String | The description of the account. | None. |
AccountType | String | The type of the account. | None. |
AccountName | String | The name of the account. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "DbInstanceId": { "Type": "String", "Description": "Instance Id." } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::GraphDatabase::Accounts", "Properties": { "DbInstanceId": { "Ref": "DbInstanceId" }, "AccountName": "DBAdmin" } } }, "Outputs": { "AccountNames": { "Description": "The list of account names.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "AccountNames" ] } }, "Accounts": { "Description": "The list of accounts.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "Accounts" ] } } } }