PostgresExtensionsProps
Properties for defining a PostgresExtensions
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-postgresextensions
Initializer
import ros_cdk_rds
ros_cdk_rds.PostgresExtensionsProps(
account_name: typing.Union[str, IResolvable],
db_instance_id: typing.Union[str, IResolvable],
db_name: typing.Union[str, IResolvable],
extensions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
risk_confirmed: typing.Union[bool, IResolvable] = None,
source_database: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
account_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accountName: The account of the user who owns the extension. |
db_instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstanceId: The instance ID. |
db_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbName: The database name. |
extensions |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property extensions: The extensions that you want to install. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group. |
risk_confirmed |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property riskConfirmed: The risk description that you need to confirm. |
source_database |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceDatabase: The source database from which you want to synchronize the extension to the destination database. |
account_name
Required
account_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountName: The account of the user who owns the extension.
Only privileged accounts are supported.
db_instance_id
Required
db_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstanceId: The instance ID.
You can call the DescribeDBInstances operation to query the instance ID.
db_name
Required
db_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbName: The database name.
You can call the DescribeDatabases operation to query the database name.
extensions
Optional
extensions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property extensions: The extensions that you want to install.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
risk_confirmed
Optional
risk_confirmed: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property riskConfirmed: The risk description that you need to confirm.
If your instance runs an outdated minor engine version, installing specific extensions on the instance poses security risks. Proceed with the installation only after you acknowledge these risks. Valid values: true false Note For more information about the risks, see Limits on extension creation for ApsaraDB RDS for PostgreSQL instances.
source_database
Optional
source_database: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceDatabase: The source database from which you want to synchronize the extension to the destination database.
If you do not specify the Extensions parameter, you must specify this parameter.