ALIYUN::GPDB::ElasticDBInstance is used to create an AnalyticDB for PostgreSQL instance in elastic storage mode.
Syntax
{
"Type": "ALIYUN::GPDB::ElasticDBInstance",
"Properties": {
"EngineVersion": String,
"InstanceSpec": String,
"ZoneId": String,
"VSwitchId": String,
"SegNodeNum": Integer,
"SegStorageType": String,
"StorageSize": Integer,
"MasterNodeNum": Integer,
"EncryptionType": String,
"EncryptionKey": String,
"VPCId": String,
"SecurityIPList": String,
"DBInstanceDescription": String,
"PrivateIpAddress": String,
"ZoneId": String,
"Period": Integer,
"PayType": String,
"DBInstanceCategory": String,
"DBInstanceMode": String,
"PeriodUnit": String,
"Tags": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
EngineVersion | String | Yes | No | The engine version of the instance. | Examples:
|
InstanceSpec | String | Yes | No | The specification of the instance. | Valid values:
|
ZoneId | String | Yes | No | The zone ID. | Example: cn-hangzhou-h. For more information about zone IDs, see DescribeRegions. |
VSwitchId | String | Yes | No | The vSwitch ID. | Example: vsw-bp183p93qs667muql****. |
SegNodeNum | Integer | Yes | No | The number of nodes. | Valid values: 4 to 512. |
SegStorageType | String | Yes | No | The disk category of the node. | Set the value to cloud_essd. |
StorageSize | Integer | Yes | No | The storage capacity of the node. | Valid values: 50 to 4000. Unit: GB. Note You can adjust the value in increments of 50 GB. |
MasterNodeNum | Integer | No | No | The number of coordinator nodes. | Valid values: 1 and 2. |
EncryptionType | String | No | No | Specifies whether to enable disk encryption. | Valid values:
Note You cannot disable disk encryption after you enable it. |
EncryptionKey | String | No | No | The ID of the encryption key. | When EncryptionType is set to CloudDisk, you must specify the ID of a key that resides in the same region as the disk for EncryptionKey. Otherwise, the system considers that EncryptionKey is empty. |
VPCId | String | No | No | The virtual private cloud (VPC) ID. | Example: vpc-bp1m6fww66xbntjyc****. |
SecurityIPList | String | No | Yes | The IP address whitelist. | Default value: 127.0.0.1. |
DBInstanceDescription | String | No | Yes | The description of the instance. | Example: AnalyticDB for PostgreSQL instance. The description can be up to 256 characters in length. |
PrivateIpAddress | String | No | No | The private IP address. | None. |
ZoneId | String | No | No | The zone ID. | None. |
InstanceChargeType | String | No | No | The billing method. | Valid values:
|
Period | Integer | No | No | The subscription duration. | This property takes effect only when you set the InstanceChargeType property to Prepaid.
|
DBInstanceCategory | String | No | No | The instance edition. | Valid values:
Note This property is required when you create an instance in elastic storage mode. |
DBInstanceMode | String | No | No | The resource mode of the instance. | Valid values:
|
PeriodUnit | String | No | No | The unit of the subscription duration. | Valid values:
|
Tags | List | No | Yes | The tags of the instance. | You can add up to 20 tags when you create an instance. Each tag consists of the Key and Value properties. For more information, see Tags properties. |
Tags syntax
"Tags" : [
{
"Value" : String,
"Key" : String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Key | String | Yes | No | The tag key. | The tag key must be 1 to 128 characters in length, and cannot contain |
Value | String | No | No | The tag value. | The tag value can be up to 128 characters in length and cannot contain |
Return values
Fn::GetAtt
DBInstanceId: the instance ID.
Port: the port number.
OrderId: the order ID.
ConnectionString: the endpoint.