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. |
dbRequired
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.
externalStoreNameRequired
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.
hostRequired
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.
passwordRequired
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.
portRequired
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.
projectRequired
public readonly project: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property project: The name of the project.
regionRequired
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.
storeTypeRequired
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).
tableRequired
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.
usernameRequired
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.
vpcIdRequired
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.
instanceIdOptional
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The id of the RDS instance.