RdsExternalStoreProps
Properties for defining a RdsExternalStore
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-rdsexternalstore
Initializer
import { RdsExternalStoreProps } from '@alicloud/ros-cdk-sls'
const rdsExternalStoreProps: RdsExternalStoreProps = { ... }
Properties
Name | Type | Description |
---|---|---|
db |
string | @alicloud/ros-cdk-core.IResolvable |
Property db: The name of the database in the ApsaraDB RDS for MySQL instance. |
externalStoreName |
string | @alicloud/ros-cdk-core.IResolvable |
Property externalStoreName: The name of the external store. |
host |
string | @alicloud/ros-cdk-core.IResolvable |
Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance. |
password |
string | @alicloud/ros-cdk-core.IResolvable |
Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance. |
port |
number | @alicloud/ros-cdk-core.IResolvable |
Property port: The internal or public port of the ApsaraDB RDS for MySQL instance. |
project |
string | @alicloud/ros-cdk-core.IResolvable |
Property project: The name of the project. |
region |
string | @alicloud/ros-cdk-core.IResolvable |
Property region: The region where the ApsaraDB RDS for MySQL instance resides. |
storeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property storeType: The storage type. |
table |
string | @alicloud/ros-cdk-core.IResolvable |
Property table: The name of the database table in the ApsaraDB RDS for MySQL instance. |
username |
string | @alicloud/ros-cdk-core.IResolvable |
Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs. |
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The id of the RDS instance. |
db
Required
public readonly db: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property db: The name of the database in the ApsaraDB RDS for MySQL instance.
externalStoreName
Required
public readonly externalStoreName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property externalStoreName: The name of the external store.
The name must be unique in a project and different from Logstore.
host
Required
public readonly host: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
password
Required
public readonly password: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance.
port
Required
public readonly port: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property port: The internal or public port of the ApsaraDB RDS for MySQL instance.
project
Required
public readonly project: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property project: The name of the project.
region
Required
public readonly region: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property region: The region where the ApsaraDB RDS for MySQL instance resides.
Valid values: cn-qingdao, cn-beijing, cn-hangzhou.
storeType
Required
public readonly storeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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).
table
Required
public readonly table: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property table: The name of the database table in the ApsaraDB RDS for MySQL instance.
username
Required
public readonly username: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance.
vpcId
Required
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
instanceId
Optional
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The id of the RDS instance.