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.
awsRdsIamAuthUse rdsIam instead of password authentication (see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)awsRdsIamProfileAWS profile to use for IAM authawsRdsIamProviderRoleArnAWS IAM role to assume for IAM authawsRdsIamRegionAWS region to use for IAM authazureIdentityAuthUse MS Azure identity OAuth token (see: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication)azureTenantIdMS Azure tenant ID (see: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config.html)clientcertSSL client certificate if required by the database.connectTimeoutMaximum wait for connection, in seconds. Zero or not specified means wait indefinitely.databaseThe name of the database to connect to in order to connect to (defaults topostgres).databaseUsernameDatabase username associated to the connected user (for user name maps)expectedVersionSpecify the expected version of PostgreSQL.gcpIamImpersonateServiceAccountService account to impersonate when using GCP IAM authentication.hostName of PostgreSQL server address to connect tomaxConnectionsMaximum number of connections to establish to the database. Zero means unlimited.passwordPassword to be used if the PostgreSQL server demands password authenticationportThe PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connectionsschemeOptional.sslModeOptional.sslmodeThis option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL serversslrootcertThe SSL server root certificate file path. The file must contain PEM encoded data.superuserSpecify 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)usernamePostgreSQL user name to connect asconst -
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