Skip to content

RdsExternalStoreProps

Properties for defining a RdsExternalStore.

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

Initializer

import ros_cdk_sls
ros_cdk_sls.RdsExternalStoreProps(
  db: typing.Union[str, IResolvable],
  external_store_name: typing.Union[str, IResolvable],
  host: typing.Union[str, IResolvable],
  password: typing.Union[str, IResolvable],
  port: typing.Union[typing.Union[int, float], IResolvable],
  project: typing.Union[str, IResolvable],
  region: typing.Union[str, IResolvable],
  store_type: typing.Union[str, IResolvable],
  table: typing.Union[str, IResolvable],
  username: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
db typing.Union[str, ros_cdk_core.IResolvable] Property db: The name of the database in the ApsaraDB RDS for MySQL instance.
external_store_name typing.Union[str, ros_cdk_core.IResolvable] Property externalStoreName: The name of the external store.
host typing.Union[str, ros_cdk_core.IResolvable] Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
password typing.Union[str, ros_cdk_core.IResolvable] Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance.
port typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property port: The internal or public port of the ApsaraDB RDS for MySQL instance.
project typing.Union[str, ros_cdk_core.IResolvable] Property project: The name of the project.
region typing.Union[str, ros_cdk_core.IResolvable] Property region: The region where the ApsaraDB RDS for MySQL instance resides.
store_type typing.Union[str, ros_cdk_core.IResolvable] Property storeType: The storage type.
table typing.Union[str, ros_cdk_core.IResolvable] Property table: The name of the database table in the ApsaraDB RDS for MySQL instance.
username typing.Union[str, ros_cdk_core.IResolvable] Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The id of the RDS instance.

dbRequired

db: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


external_store_nameRequired

external_store_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

host: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


passwordRequired

password: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


portRequired

port: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

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


projectRequired

project: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property project: The name of the project.


regionRequired

region: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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

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


store_typeRequired

store_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

table: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


usernameRequired

username: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


instance_idOptional

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceId: The id of the RDS instance.