Documentation ¶
Index ¶
- func GetAwsRdsIamAuth(ctx *pulumi.Context) bool
- func GetAwsRdsIamProfile(ctx *pulumi.Context) string
- func GetAwsRdsIamProviderRoleArn(ctx *pulumi.Context) string
- func GetAwsRdsIamRegion(ctx *pulumi.Context) string
- func GetAzureIdentityAuth(ctx *pulumi.Context) bool
- func GetAzureTenantId(ctx *pulumi.Context) string
- func GetClientcert(ctx *pulumi.Context) string
- func GetConnectTimeout(ctx *pulumi.Context) int
- func GetDatabase(ctx *pulumi.Context) string
- func GetDatabaseUsername(ctx *pulumi.Context) string
- func GetExpectedVersion(ctx *pulumi.Context) string
- func GetGcpIamImpersonateServiceAccount(ctx *pulumi.Context) string
- func GetHost(ctx *pulumi.Context) string
- func GetMaxConnections(ctx *pulumi.Context) int
- func GetPassword(ctx *pulumi.Context) string
- func GetPort(ctx *pulumi.Context) int
- func GetScheme(ctx *pulumi.Context) string
- func GetSslMode(ctx *pulumi.Context) stringdeprecated
- func GetSslmode(ctx *pulumi.Context) string
- func GetSslrootcert(ctx *pulumi.Context) string
- func GetSuperuser(ctx *pulumi.Context) bool
- func GetUsername(ctx *pulumi.Context) string
- type Clientcert
- type ClientcertArgs
- type ClientcertInput
- type ClientcertOutput
- func (o ClientcertOutput) Cert() pulumi.StringOutput
- func (ClientcertOutput) ElementType() reflect.Type
- func (o ClientcertOutput) Key() pulumi.StringOutput
- func (o ClientcertOutput) Sslinline() pulumi.BoolPtrOutput
- func (o ClientcertOutput) ToClientcertOutput() ClientcertOutput
- func (o ClientcertOutput) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAwsRdsIamAuth ¶ added in v3.4.0
Use rdsIam instead of password authentication (see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)
func GetAwsRdsIamProfile ¶ added in v3.4.0
AWS profile to use for IAM auth
func GetAwsRdsIamProviderRoleArn ¶ added in v3.14.0
AWS IAM role to assume for IAM auth
func GetAwsRdsIamRegion ¶ added in v3.7.0
AWS region to use for IAM auth
func GetAzureIdentityAuth ¶ added in v3.10.0
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)
func GetAzureTenantId ¶ added in v3.10.0
func GetClientcert ¶
SSL client certificate if required by the database.
func GetConnectTimeout ¶
Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.
func GetDatabase ¶
The name of the database to connect to in order to conenct to (defaults to `postgres`).
func GetDatabaseUsername ¶
Database username associated to the connected user (for user name maps)
func GetExpectedVersion ¶
Specify the expected version of PostgreSQL.
func GetGcpIamImpersonateServiceAccount ¶ added in v3.12.0
Service account to impersonate when using GCP IAM authentication.
func GetMaxConnections ¶
Maximum number of connections to establish to the database. Zero means unlimited.
func GetPassword ¶
Password to be used if the PostgreSQL server demands password authentication
func GetPort ¶
The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections
func GetSslMode
deprecated
func GetSslmode ¶
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server
func GetSslrootcert ¶
The SSL server root certificate file path. The file must contain PEM encoded data.
func GetSuperuser ¶
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)
Types ¶
type Clientcert ¶
type Clientcert struct { // The SSL client certificate file path. The file must contain PEM encoded data. Cert string `pulumi:"cert"` // The SSL client certificate private key file path. The file must contain PEM encoded data. Key string `pulumi:"key"` // Must be set to true if you are inlining the cert/key instead of using a file path. Sslinline *bool `pulumi:"sslinline"` }
type ClientcertArgs ¶
type ClientcertArgs struct { // The SSL client certificate file path. The file must contain PEM encoded data. Cert pulumi.StringInput `pulumi:"cert"` // The SSL client certificate private key file path. The file must contain PEM encoded data. Key pulumi.StringInput `pulumi:"key"` // Must be set to true if you are inlining the cert/key instead of using a file path. Sslinline pulumi.BoolPtrInput `pulumi:"sslinline"` }
func (ClientcertArgs) ElementType ¶
func (ClientcertArgs) ElementType() reflect.Type
func (ClientcertArgs) ToClientcertOutput ¶
func (i ClientcertArgs) ToClientcertOutput() ClientcertOutput
func (ClientcertArgs) ToClientcertOutputWithContext ¶
func (i ClientcertArgs) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput
type ClientcertInput ¶
type ClientcertInput interface { pulumi.Input ToClientcertOutput() ClientcertOutput ToClientcertOutputWithContext(context.Context) ClientcertOutput }
ClientcertInput is an input type that accepts ClientcertArgs and ClientcertOutput values. You can construct a concrete instance of `ClientcertInput` via:
ClientcertArgs{...}
type ClientcertOutput ¶
type ClientcertOutput struct{ *pulumi.OutputState }
func (ClientcertOutput) Cert ¶
func (o ClientcertOutput) Cert() pulumi.StringOutput
The SSL client certificate file path. The file must contain PEM encoded data.
func (ClientcertOutput) ElementType ¶
func (ClientcertOutput) ElementType() reflect.Type
func (ClientcertOutput) Key ¶
func (o ClientcertOutput) Key() pulumi.StringOutput
The SSL client certificate private key file path. The file must contain PEM encoded data.
func (ClientcertOutput) Sslinline ¶ added in v3.10.0
func (o ClientcertOutput) Sslinline() pulumi.BoolPtrOutput
Must be set to true if you are inlining the cert/key instead of using a file path.
func (ClientcertOutput) ToClientcertOutput ¶
func (o ClientcertOutput) ToClientcertOutput() ClientcertOutput
func (ClientcertOutput) ToClientcertOutputWithContext ¶
func (o ClientcertOutput) ToClientcertOutputWithContext(ctx context.Context) ClientcertOutput