DATASOURCE::GraphDatabase::DbInstance is used to query the information about an instance.
Syntax
{
"Type": "DATASOURCE::GraphDatabase::DbInstance",
"Properties": {
"DbInstanceId": String,
"RefreshOptions": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
DbInstanceId | String | Yes | Yes | The instance ID. | None. |
RefreshOptions | String | No | Yes | The refresh policy for data source resources when the stack is updated. | Valid values:
|
Return values
Fn::GetAtt
ResourceGroupId: the ID of the resource group.
DbInstanceNetworkType: the network type of the instance.
Port: the port that is used to access the application.
DbInstanceType: the type of the instance.
DbInstanceStorageType: the storage type of the instance.
DbNodeStorage: the storage space of the database.
DbInstanceCategory: the edition of the instance.
DbVersion: the version of the database.
CurrentMinorVersion: the kernel version of the database.
PaymentType: the billing method.
PublicConnectionString: the prefix of the public endpoint that is used to connect to the instance.
DBInstanceId: the instance ID.
LockReason: the reason why the instance is locked.
DbNodeClass: the node type.
MaintainTime: the maintenance window of the instance.
Tags: the tags that are added to the instance.
ZoneId: the zone ID of the instance.
VSwitchId: the vSwitch ID of the instance.
CreateTime: the creation time of the instance.
DbNodeCount: the number of nodes.
LatestMinorVersion: the latest kernel version that is supported by the instance.
Expired: the expiration time of the instance.
EcsSecurityGroupRelations: the associated security groups.
LockMode: the lock mode of the instance.
DbInstanceMemory: the memory size of the instance.
ReadOnlyDbInstanceIds: the IDs of the read-only instances.
VpcId: the ID of the virtual private cloud (VPC) in which the instance resides.
DBInstanceIPArray: the IP address whitelists.
DbInstanceDescription: the description of the instance.
DbInstanceCpu: the number of vCPUs of the instance.
ConnectionString: the endpoint that is used to connect to the database.
ExpireTime: the expiration time of the database.
PublicPort: the port that is used to connect to the database.