ProviderArgs class

The set of arguments for Provider. The set of arguments for Provider.

Constructors

ProviderArgs({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
const
ProviderArgs.fromMap(Map<String, dynamic> map)
factory

Properties

awsRdsIamAuth → Input<bool>?
Use rdsIam instead of password authentication (see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)
final
awsRdsIamProfile → Input<String>?
AWS profile to use for IAM auth
final
awsRdsIamProviderRoleArn → Input<String>?
AWS IAM role to assume for IAM auth
final
awsRdsIamRegion → Input<String>?
AWS region to use for IAM auth
final
azureIdentityAuth → Input<bool>?
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)
final
azureTenantId → Input<String>?
MS Azure tenant ID (see: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config.html)
final
clientcert → Input<ProviderClientcert>?
SSL client certificate if required by the database.
final
connectTimeout → Input<int>?
Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.
final
database → Input<String>?
The name of the database to connect to in order to connect to (defaults to postgres).
final
databaseUsername → Input<String>?
Database username associated to the connected user (for user name maps)
final
expectedVersion → Input<String>?
Specify the expected version of PostgreSQL.
final
gcpIamImpersonateServiceAccount → Input<String>?
Service account to impersonate when using GCP IAM authentication.
final
hashCode → int
The hash code for this object.
no setterinherited
host → Input<String>?
Name of PostgreSQL server address to connect to
final
maxConnections → Input<int>?
Maximum number of connections to establish to the database. Zero means unlimited.
final
password → Input<String>?
Password to be used if the PostgreSQL server demands password authentication
final
port → Input<int>?
The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheme → Input<String>?
final
sslMode → Input<String>?
final
sslmode → Input<String>?
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server
final
sslrootcert → Input<String>?
The SSL server root certificate file path. The file must contain PEM encoded data.
final
superuser → Input<bool>?
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)
final
username → Input<String>?
PostgreSQL user name to connect as
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited