ALIYUN::OTS::VpcBinder is used to bind a Tablestore instance to a VPC.
Syntax
{
"Type": "ALIYUN::OTS::VpcBinder",
"Properties": {
"Vpcs": List,
"InstanceName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
Vpcs | List | Yes | Yes | The VPC binding configurations. | The element type of this parameter is VpcInfo. |
InstanceName | String | Yes | No | The name of the instance. | None |
Vpcs syntax
"Vpcs":[
{
"VpcId":String,
"InstanceVpcName":String,
"VirtualSwitchId": String,
"Network": String
}
]
Vpcs properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
VpcId | String | Yes | No | The ID of the VPC. | The VPC and the Tablestore instance must belong to the same account and reside in the same region. |
InstanceVpcName | String | Yes | No | The custom name of the VPC. | This name must be unique in the Tablestore instance. |
VirtualSwitchId | String | Yes | No | The ID of the VSwitch. | The VSwitch must belong to the previously specified VPC. |
Network | String | Yes | No | The network type of the Tablestore instance. | Valid values:
|
Response parameters
Fn::GetAtt
- Domains: the domain names used to access the Tablestore instance in the VPC.
- Endpoints: the private endpoints used to access the Tablestore instance in the VPC.
Examples
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"VpcBinder": {
"Type": "ALIYUN::OTS::VpcBinder",
"Properties": {
"Vpcs": {
"Fn::Split": [
",",
{
"Ref": "Vpcs"
}
]
},
"InstanceName": {
"Ref": "InstanceName"
}
}
}
},
"Parameters": {
"Vpcs": {
"MinLength": 0,
"Type": "CommaDelimitedList",
"Description": "Vpc binding configuration.",
"MaxLength": 20
},
"InstanceName": {
"Type": "String",
"Description": "Instance name"
}
},
"Outputs": {
"Domains": {
"Description": "The domain names used to access the OTS instance in the VPC.",
"Value": {
"Fn::GetAtt": [
"VpcBinder",
"Domains"
]
}
},
"Endpoints": {
"Description": "Private network addresses used to access the OTS instance in the VPC.",
"Value": {
"Fn::GetAtt": [
"VpcBinder",
"Endpoints"
]
}
}
}
}