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. |
db
Required
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_name
Required
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.
host
Required
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.
password
Required
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.
port
Required
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.
project
Required
project: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property project: The name of the project.
region
Required
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_type
Required
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).
table
Required
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.
username
Required
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_id
Required
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_id
Optional
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The id of the RDS instance.