Skip to content

RdsExternalStoreProps

Properties for defining a RdsExternalStore.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-rdsexternalstore

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksls"
&alicloudroscdksls.RdsExternalStoreProps {
    Db: interface{},
    ExternalStoreName: interface{},
    Host: interface{},
    Password: interface{},
    Port: interface{},
    Project: interface{},
    Region: interface{},
    StoreType: interface{},
    Table: interface{},
    Username: interface{},
    VpcId: interface{},
    InstanceId: interface{},
}

Properties

Name Type Description
Db interface{} Property db: The name of the database in the ApsaraDB RDS for MySQL instance.
ExternalStoreName interface{} Property externalStoreName: The name of the external store.
Host interface{} Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
Password interface{} Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance.
Port interface{} Property port: The internal or public port of the ApsaraDB RDS for MySQL instance.
Project interface{} Property project: The name of the project.
Region interface{} Property region: The region where the ApsaraDB RDS for MySQL instance resides.
StoreType interface{} Property storeType: The storage type.
Table interface{} Property table: The name of the database table in the ApsaraDB RDS for MySQL instance.
Username interface{} Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance.
VpcId interface{} Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
InstanceId interface{} Property instanceId: The id of the RDS instance.

DbRequired

Db interface{}
  • Type: interface{}

Property db: The name of the database in the ApsaraDB RDS for MySQL instance.


ExternalStoreNameRequired

ExternalStoreName interface{}
  • Type: interface{}

Property externalStoreName: The name of the external store.

The name must be unique in a project and different from Logstore.


HostRequired

Host interface{}
  • Type: interface{}

Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance.


PasswordRequired

Password interface{}
  • Type: interface{}

Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance.


PortRequired

Port interface{}
  • Type: interface{}

Property port: The internal or public port of the ApsaraDB RDS for MySQL instance.


ProjectRequired

Project interface{}
  • Type: interface{}

Property project: The name of the project.


RegionRequired

Region interface{}
  • Type: interface{}

Property region: The region where the ApsaraDB RDS for MySQL instance resides.

Valid values: cn-qingdao, cn-beijing, cn-hangzhou.


StoreTypeRequired

StoreType interface{}
  • Type: interface{}

Property storeType: The storage type.

Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).


TableRequired

Table interface{}
  • Type: interface{}

Property table: The name of the database table in the ApsaraDB RDS for MySQL instance.


UsernameRequired

Username interface{}
  • Type: interface{}

Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance.


VpcIdRequired

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.


InstanceIdOptional

InstanceId interface{}
  • Type: interface{}

Property instanceId: The id of the RDS instance.