config

package
v3.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAwsRdsIamAuth added in v3.4.0

func GetAwsRdsIamAuth(ctx *pulumi.Context) bool

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

func GetAwsRdsIamProfile(ctx *pulumi.Context) string

AWS profile to use for IAM auth

func GetAwsRdsIamProviderRoleArn added in v3.14.0

func GetAwsRdsIamProviderRoleArn(ctx *pulumi.Context) string

AWS IAM role to assume for IAM auth

func GetAwsRdsIamRegion added in v3.7.0

func GetAwsRdsIamRegion(ctx *pulumi.Context) string

AWS region to use for IAM auth

func GetAzureTenantId added in v3.10.0

func GetAzureTenantId(ctx *pulumi.Context) string

func GetClientcert

func GetClientcert(ctx *pulumi.Context) string

SSL client certificate if required by the database.

func GetConnectTimeout

func GetConnectTimeout(ctx *pulumi.Context) int

Maximum wait for connection, in seconds. Zero or not specified means wait indefinitely.

func GetDatabase

func GetDatabase(ctx *pulumi.Context) string

The name of the database to connect to in order to conenct to (defaults to `postgres`).

func GetDatabaseUsername

func GetDatabaseUsername(ctx *pulumi.Context) string

Database username associated to the connected user (for user name maps)

func GetExpectedVersion

func GetExpectedVersion(ctx *pulumi.Context) string

Specify the expected version of PostgreSQL.

func GetGcpIamImpersonateServiceAccount added in v3.12.0

func GetGcpIamImpersonateServiceAccount(ctx *pulumi.Context) string

Service account to impersonate when using GCP IAM authentication.

func GetHost

func GetHost(ctx *pulumi.Context) string

Name of PostgreSQL server address to connect to

func GetMaxConnections

func GetMaxConnections(ctx *pulumi.Context) int

Maximum number of connections to establish to the database. Zero means unlimited.

func GetPassword

func GetPassword(ctx *pulumi.Context) string

Password to be used if the PostgreSQL server demands password authentication

func GetPort

func GetPort(ctx *pulumi.Context) int

The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections

func GetScheme

func GetScheme(ctx *pulumi.Context) string

func GetSslMode deprecated

func GetSslMode(ctx *pulumi.Context) string

Deprecated: Rename PostgreSQL provider `sslMode` attribute to `sslmode`

func GetSslmode

func GetSslmode(ctx *pulumi.Context) string

This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server

func GetSslrootcert

func GetSslrootcert(ctx *pulumi.Context) string

The SSL server root certificate file path. The file must contain PEM encoded data.

func GetSuperuser

func GetSuperuser(ctx *pulumi.Context) 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)

func GetUsername

func GetUsername(ctx *pulumi.Context) string

PostgreSQL user name to connect as

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

The SSL client certificate file path. The file must contain PEM encoded data.

func (ClientcertOutput) ElementType

func (ClientcertOutput) ElementType() reflect.Type

func (ClientcertOutput) Key

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL