ProviderArgs constructor
- Input<
bool> ? awsRdsIamAuth, - Input<
String> ? awsRdsIamProfile, - Input<
String> ? awsRdsIamProviderRoleArn, - Input<
String> ? awsRdsIamRegion, - Input<
bool> ? azureIdentityAuth, - Input<
String> ? azureTenantId, - Input<
ProviderClientcert> ? clientcert, - Input<
int> ? connectTimeout, - Input<
String> ? database, - Input<
String> ? databaseUsername, - Input<
String> ? expectedVersion, - Input<
String> ? gcpIamImpersonateServiceAccount, - Input<
String> ? host, - Input<
int> ? maxConnections, - Input<
String> ? password, - Input<
int> ? port, - Input<
String> ? scheme, - Input<
String> ? sslMode, - Input<
String> ? sslmode, - Input<
String> ? sslrootcert, - Input<
bool> ? superuser, - Input<
String> ? username,
Creates a new ProviderArgs.
awsRdsIamAuth Use rdsIam instead of password authentication (see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)
awsRdsIamProfile AWS profile to use for IAM auth
awsRdsIamProviderRoleArn AWS IAM role to assume for IAM auth
awsRdsIamRegion AWS region to use for IAM auth
azureIdentityAuth Use MS Azure identity OAuth token (see: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication)
azureTenantId MS Azure tenant ID (see: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config.html)
clientcert SSL client certificate if required by the database.
connectTimeout Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.
database The name of the database to connect to in order to connect to (defaults to postgres).
databaseUsername Database username associated to the connected user (for user name maps)
expectedVersion Specify the expected version of PostgreSQL.
gcpIamImpersonateServiceAccount Service account to impersonate when using GCP IAM authentication.
host Name of PostgreSQL server address to connect to
maxConnections Maximum number of connections to establish to the database. Zero means unlimited.
password Password to be used if the PostgreSQL server demands password authentication
port The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections
scheme Optional.
sslMode Optional.
sslmode This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server
sslrootcert The SSL server root certificate file path. The file must contain PEM encoded data.
superuser Specify if the user to connect as is a Postgres superuser or not.If not, some feature might be disabled (e.g.: Refreshing state password from Postgres)
username PostgreSQL user name to connect as
Implementation
const ProviderArgs({
this.awsRdsIamAuth,
this.awsRdsIamProfile,
this.awsRdsIamProviderRoleArn,
this.awsRdsIamRegion,
this.azureIdentityAuth,
this.azureTenantId,
this.clientcert,
this.connectTimeout,
this.database,
this.databaseUsername,
this.expectedVersion,
this.gcpIamImpersonateServiceAccount,
this.host,
this.maxConnections,
this.password,
this.port,
this.scheme,
this.sslMode,
this.sslmode,
this.sslrootcert,
this.superuser,
this.username,
});