Skip to content

PostgresExtensionsProps

Properties for defining a PostgresExtensions.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-postgresextensions

Initializer

import com.aliyun.ros.cdk.rds.PostgresExtensionsProps;
PostgresExtensionsProps.builder()
    .accountName(java.lang.String)
    .accountName(IResolvable)
    .dbInstanceId(java.lang.String)
    .dbInstanceId(IResolvable)
    .dbName(java.lang.String)
    .dbName(IResolvable)
//  .extensions(IResolvable)
//  .extensions(java.util.List<java.lang.String)
//  .extensions(IResolvable>)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .riskConfirmed(java.lang.Boolean)
//  .riskConfirmed(IResolvable)
//  .sourceDatabase(java.lang.String)
//  .sourceDatabase(IResolvable)
    .build();

Properties

Name Type Description
accountName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accountName: The account of the user who owns the extension.
dbInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceId: The instance ID.
dbName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbName: The database name.
extensions com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property extensions: The extensions that you want to install.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
riskConfirmed java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property riskConfirmed: The risk description that you need to confirm.
sourceDatabase java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceDatabase: The source database from which you want to synchronize the extension to the destination database.

accountNameRequired

public java.lang.Object getAccountName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property accountName: The account of the user who owns the extension.

Only privileged accounts are supported.


dbInstanceIdRequired

public java.lang.Object getDbInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceId: The instance ID.

You can call the DescribeDBInstances operation to query the instance ID.


dbNameRequired

public java.lang.Object getDbName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbName: The database name.

You can call the DescribeDatabases operation to query the database name.


extensionsOptional

public java.lang.Object getExtensions();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property extensions: The extensions that you want to install.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


riskConfirmedOptional

public java.lang.Object getRiskConfirmed();
  • Type: java.lang.Boolean OR com.aliyun.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.


sourceDatabaseOptional

public java.lang.Object getSourceDatabase();
  • Type: java.lang.String OR com.aliyun.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.