vault_database_secret_backend_connection

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AllowedRoles: list of string, optional
	AllowedRoles terra.ListValue[terra.StringValue] `hcl:"allowed_roles,attr"`
	// Backend: string, required
	Backend terra.StringValue `hcl:"backend,attr" validate:"required"`
	// Data: map of string, optional
	Data terra.MapValue[terra.StringValue] `hcl:"data,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Namespace: string, optional
	Namespace terra.StringValue `hcl:"namespace,attr"`
	// PluginName: string, optional
	PluginName terra.StringValue `hcl:"plugin_name,attr"`
	// RootRotationStatements: list of string, optional
	RootRotationStatements terra.ListValue[terra.StringValue] `hcl:"root_rotation_statements,attr"`
	// VerifyConnection: bool, optional
	VerifyConnection terra.BoolValue `hcl:"verify_connection,attr"`
	// Cassandra: optional
	Cassandra *Cassandra `hcl:"cassandra,block"`
	// Couchbase: optional
	Couchbase *Couchbase `hcl:"couchbase,block"`
	// Elasticsearch: optional
	Elasticsearch *Elasticsearch `hcl:"elasticsearch,block"`
	// Hana: optional
	Hana *Hana `hcl:"hana,block"`
	// Influxdb: optional
	Influxdb *Influxdb `hcl:"influxdb,block"`
	// Mongodb: optional
	Mongodb *Mongodb `hcl:"mongodb,block"`
	// Mongodbatlas: optional
	Mongodbatlas *Mongodbatlas `hcl:"mongodbatlas,block"`
	// Mssql: optional
	Mssql *Mssql `hcl:"mssql,block"`
	// Mysql: optional
	Mysql *Mysql `hcl:"mysql,block"`
	// MysqlAurora: optional
	MysqlAurora *MysqlAurora `hcl:"mysql_aurora,block"`
	// MysqlLegacy: optional
	MysqlLegacy *MysqlLegacy `hcl:"mysql_legacy,block"`
	// MysqlRds: optional
	MysqlRds *MysqlRds `hcl:"mysql_rds,block"`
	// Oracle: optional
	Oracle *Oracle `hcl:"oracle,block"`
	// Postgresql: optional
	Postgresql *Postgresql `hcl:"postgresql,block"`
	// Redis: optional
	Redis *Redis `hcl:"redis,block"`
	// RedisElasticache: optional
	RedisElasticache *RedisElasticache `hcl:"redis_elasticache,block"`
	// Redshift: optional
	Redshift *Redshift `hcl:"redshift,block"`
	// Snowflake: optional
	Snowflake *Snowflake `hcl:"snowflake,block"`
}

Args contains the configurations for vault_database_secret_backend_connection.

type Cassandra

type Cassandra struct {
	// ConnectTimeout: number, optional
	ConnectTimeout terra.NumberValue `hcl:"connect_timeout,attr"`
	// Hosts: list of string, optional
	Hosts terra.ListValue[terra.StringValue] `hcl:"hosts,attr"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// PemBundle: string, optional
	PemBundle terra.StringValue `hcl:"pem_bundle,attr"`
	// PemJson: string, optional
	PemJson terra.StringValue `hcl:"pem_json,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// ProtocolVersion: number, optional
	ProtocolVersion terra.NumberValue `hcl:"protocol_version,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type CassandraAttributes

type CassandraAttributes struct {
	// contains filtered or unexported fields
}

func (CassandraAttributes) ConnectTimeout

func (c CassandraAttributes) ConnectTimeout() terra.NumberValue

func (CassandraAttributes) Hosts

func (CassandraAttributes) InsecureTls

func (c CassandraAttributes) InsecureTls() terra.BoolValue

func (CassandraAttributes) InternalRef

func (c CassandraAttributes) InternalRef() (terra.Reference, error)

func (CassandraAttributes) InternalTokens

func (c CassandraAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CassandraAttributes) InternalWithRef

func (c CassandraAttributes) InternalWithRef(ref terra.Reference) CassandraAttributes

func (CassandraAttributes) Password

func (c CassandraAttributes) Password() terra.StringValue

func (CassandraAttributes) PemBundle

func (c CassandraAttributes) PemBundle() terra.StringValue

func (CassandraAttributes) PemJson

func (CassandraAttributes) Port

func (CassandraAttributes) ProtocolVersion

func (c CassandraAttributes) ProtocolVersion() terra.NumberValue

func (CassandraAttributes) Tls

func (CassandraAttributes) Username

func (c CassandraAttributes) Username() terra.StringValue

type CassandraState

type CassandraState struct {
	ConnectTimeout  float64  `json:"connect_timeout"`
	Hosts           []string `json:"hosts"`
	InsecureTls     bool     `json:"insecure_tls"`
	Password        string   `json:"password"`
	PemBundle       string   `json:"pem_bundle"`
	PemJson         string   `json:"pem_json"`
	Port            float64  `json:"port"`
	ProtocolVersion float64  `json:"protocol_version"`
	Tls             bool     `json:"tls"`
	Username        string   `json:"username"`
}

type Couchbase

type Couchbase struct {
	// Base64Pem: string, optional
	Base64Pem terra.StringValue `hcl:"base64_pem,attr"`
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// Hosts: list of string, required
	Hosts terra.ListValue[terra.StringValue] `hcl:"hosts,attr" validate:"required"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type CouchbaseAttributes

type CouchbaseAttributes struct {
	// contains filtered or unexported fields
}

func (CouchbaseAttributes) Base64Pem

func (c CouchbaseAttributes) Base64Pem() terra.StringValue

func (CouchbaseAttributes) BucketName

func (c CouchbaseAttributes) BucketName() terra.StringValue

func (CouchbaseAttributes) Hosts

func (CouchbaseAttributes) InsecureTls

func (c CouchbaseAttributes) InsecureTls() terra.BoolValue

func (CouchbaseAttributes) InternalRef

func (c CouchbaseAttributes) InternalRef() (terra.Reference, error)

func (CouchbaseAttributes) InternalTokens

func (c CouchbaseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CouchbaseAttributes) InternalWithRef

func (c CouchbaseAttributes) InternalWithRef(ref terra.Reference) CouchbaseAttributes

func (CouchbaseAttributes) Password

func (c CouchbaseAttributes) Password() terra.StringValue

func (CouchbaseAttributes) Tls

func (CouchbaseAttributes) Username

func (c CouchbaseAttributes) Username() terra.StringValue

func (CouchbaseAttributes) UsernameTemplate

func (c CouchbaseAttributes) UsernameTemplate() terra.StringValue

type CouchbaseState

type CouchbaseState struct {
	Base64Pem        string   `json:"base64_pem"`
	BucketName       string   `json:"bucket_name"`
	Hosts            []string `json:"hosts"`
	InsecureTls      bool     `json:"insecure_tls"`
	Password         string   `json:"password"`
	Tls              bool     `json:"tls"`
	Username         string   `json:"username"`
	UsernameTemplate string   `json:"username_template"`
}

type Elasticsearch

type Elasticsearch struct {
	// CaCert: string, optional
	CaCert terra.StringValue `hcl:"ca_cert,attr"`
	// CaPath: string, optional
	CaPath terra.StringValue `hcl:"ca_path,attr"`
	// ClientCert: string, optional
	ClientCert terra.StringValue `hcl:"client_cert,attr"`
	// ClientKey: string, optional
	ClientKey terra.StringValue `hcl:"client_key,attr"`
	// Insecure: bool, optional
	Insecure terra.BoolValue `hcl:"insecure,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// TlsServerName: string, optional
	TlsServerName terra.StringValue `hcl:"tls_server_name,attr"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type ElasticsearchAttributes

type ElasticsearchAttributes struct {
	// contains filtered or unexported fields
}

func (ElasticsearchAttributes) CaCert

func (ElasticsearchAttributes) CaPath

func (ElasticsearchAttributes) ClientCert

func (e ElasticsearchAttributes) ClientCert() terra.StringValue

func (ElasticsearchAttributes) ClientKey

func (ElasticsearchAttributes) Insecure

func (ElasticsearchAttributes) InternalRef

func (e ElasticsearchAttributes) InternalRef() (terra.Reference, error)

func (ElasticsearchAttributes) InternalTokens

func (e ElasticsearchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ElasticsearchAttributes) InternalWithRef

func (ElasticsearchAttributes) Password

func (ElasticsearchAttributes) TlsServerName

func (e ElasticsearchAttributes) TlsServerName() terra.StringValue

func (ElasticsearchAttributes) Url

func (ElasticsearchAttributes) Username

func (ElasticsearchAttributes) UsernameTemplate

func (e ElasticsearchAttributes) UsernameTemplate() terra.StringValue

type ElasticsearchState

type ElasticsearchState struct {
	CaCert           string `json:"ca_cert"`
	CaPath           string `json:"ca_path"`
	ClientCert       string `json:"client_cert"`
	ClientKey        string `json:"client_key"`
	Insecure         bool   `json:"insecure"`
	Password         string `json:"password"`
	TlsServerName    string `json:"tls_server_name"`
	Url              string `json:"url"`
	Username         string `json:"username"`
	UsernameTemplate string `json:"username_template"`
}

type Hana

type Hana struct {
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type HanaAttributes

type HanaAttributes struct {
	// contains filtered or unexported fields
}

func (HanaAttributes) ConnectionUrl

func (h HanaAttributes) ConnectionUrl() terra.StringValue

func (HanaAttributes) DisableEscaping

func (h HanaAttributes) DisableEscaping() terra.BoolValue

func (HanaAttributes) InternalRef

func (h HanaAttributes) InternalRef() (terra.Reference, error)

func (HanaAttributes) InternalTokens

func (h HanaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HanaAttributes) InternalWithRef

func (h HanaAttributes) InternalWithRef(ref terra.Reference) HanaAttributes

func (HanaAttributes) MaxConnectionLifetime

func (h HanaAttributes) MaxConnectionLifetime() terra.NumberValue

func (HanaAttributes) MaxIdleConnections

func (h HanaAttributes) MaxIdleConnections() terra.NumberValue

func (HanaAttributes) MaxOpenConnections

func (h HanaAttributes) MaxOpenConnections() terra.NumberValue

func (HanaAttributes) Password

func (h HanaAttributes) Password() terra.StringValue

func (HanaAttributes) Username

func (h HanaAttributes) Username() terra.StringValue

type HanaState

type HanaState struct {
	ConnectionUrl         string  `json:"connection_url"`
	DisableEscaping       bool    `json:"disable_escaping"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	Username              string  `json:"username"`
}

type Influxdb

type Influxdb struct {
	// ConnectTimeout: number, optional
	ConnectTimeout terra.NumberValue `hcl:"connect_timeout,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// PemBundle: string, optional
	PemBundle terra.StringValue `hcl:"pem_bundle,attr"`
	// PemJson: string, optional
	PemJson terra.StringValue `hcl:"pem_json,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type InfluxdbAttributes

type InfluxdbAttributes struct {
	// contains filtered or unexported fields
}

func (InfluxdbAttributes) ConnectTimeout

func (i InfluxdbAttributes) ConnectTimeout() terra.NumberValue

func (InfluxdbAttributes) Host

func (InfluxdbAttributes) InsecureTls

func (i InfluxdbAttributes) InsecureTls() terra.BoolValue

func (InfluxdbAttributes) InternalRef

func (i InfluxdbAttributes) InternalRef() (terra.Reference, error)

func (InfluxdbAttributes) InternalTokens

func (i InfluxdbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InfluxdbAttributes) InternalWithRef

func (i InfluxdbAttributes) InternalWithRef(ref terra.Reference) InfluxdbAttributes

func (InfluxdbAttributes) Password

func (i InfluxdbAttributes) Password() terra.StringValue

func (InfluxdbAttributes) PemBundle

func (i InfluxdbAttributes) PemBundle() terra.StringValue

func (InfluxdbAttributes) PemJson

func (i InfluxdbAttributes) PemJson() terra.StringValue

func (InfluxdbAttributes) Port

func (InfluxdbAttributes) Tls

func (InfluxdbAttributes) Username

func (i InfluxdbAttributes) Username() terra.StringValue

func (InfluxdbAttributes) UsernameTemplate

func (i InfluxdbAttributes) UsernameTemplate() terra.StringValue

type InfluxdbState

type InfluxdbState struct {
	ConnectTimeout   float64 `json:"connect_timeout"`
	Host             string  `json:"host"`
	InsecureTls      bool    `json:"insecure_tls"`
	Password         string  `json:"password"`
	PemBundle        string  `json:"pem_bundle"`
	PemJson          string  `json:"pem_json"`
	Port             float64 `json:"port"`
	Tls              bool    `json:"tls"`
	Username         string  `json:"username"`
	UsernameTemplate string  `json:"username_template"`
}

type Mongodb

type Mongodb struct {
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type MongodbAttributes

type MongodbAttributes struct {
	// contains filtered or unexported fields
}

func (MongodbAttributes) ConnectionUrl

func (m MongodbAttributes) ConnectionUrl() terra.StringValue

func (MongodbAttributes) InternalRef

func (m MongodbAttributes) InternalRef() (terra.Reference, error)

func (MongodbAttributes) InternalTokens

func (m MongodbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MongodbAttributes) InternalWithRef

func (m MongodbAttributes) InternalWithRef(ref terra.Reference) MongodbAttributes

func (MongodbAttributes) MaxConnectionLifetime

func (m MongodbAttributes) MaxConnectionLifetime() terra.NumberValue

func (MongodbAttributes) MaxIdleConnections

func (m MongodbAttributes) MaxIdleConnections() terra.NumberValue

func (MongodbAttributes) MaxOpenConnections

func (m MongodbAttributes) MaxOpenConnections() terra.NumberValue

func (MongodbAttributes) Password

func (m MongodbAttributes) Password() terra.StringValue

func (MongodbAttributes) Username

func (m MongodbAttributes) Username() terra.StringValue

func (MongodbAttributes) UsernameTemplate

func (m MongodbAttributes) UsernameTemplate() terra.StringValue

type MongodbState

type MongodbState struct {
	ConnectionUrl         string  `json:"connection_url"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type Mongodbatlas

type Mongodbatlas struct {
	// PrivateKey: string, required
	PrivateKey terra.StringValue `hcl:"private_key,attr" validate:"required"`
	// ProjectId: string, required
	ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"`
	// PublicKey: string, required
	PublicKey terra.StringValue `hcl:"public_key,attr" validate:"required"`
}

type MongodbatlasAttributes

type MongodbatlasAttributes struct {
	// contains filtered or unexported fields
}

func (MongodbatlasAttributes) InternalRef

func (m MongodbatlasAttributes) InternalRef() (terra.Reference, error)

func (MongodbatlasAttributes) InternalTokens

func (m MongodbatlasAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MongodbatlasAttributes) InternalWithRef

func (MongodbatlasAttributes) PrivateKey

func (m MongodbatlasAttributes) PrivateKey() terra.StringValue

func (MongodbatlasAttributes) ProjectId

func (MongodbatlasAttributes) PublicKey

type MongodbatlasState

type MongodbatlasState struct {
	PrivateKey string `json:"private_key"`
	ProjectId  string `json:"project_id"`
	PublicKey  string `json:"public_key"`
}

type Mssql

type Mssql struct {
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// ContainedDb: bool, optional
	ContainedDb terra.BoolValue `hcl:"contained_db,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type MssqlAttributes

type MssqlAttributes struct {
	// contains filtered or unexported fields
}

func (MssqlAttributes) ConnectionUrl

func (m MssqlAttributes) ConnectionUrl() terra.StringValue

func (MssqlAttributes) ContainedDb

func (m MssqlAttributes) ContainedDb() terra.BoolValue

func (MssqlAttributes) DisableEscaping

func (m MssqlAttributes) DisableEscaping() terra.BoolValue

func (MssqlAttributes) InternalRef

func (m MssqlAttributes) InternalRef() (terra.Reference, error)

func (MssqlAttributes) InternalTokens

func (m MssqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MssqlAttributes) InternalWithRef

func (m MssqlAttributes) InternalWithRef(ref terra.Reference) MssqlAttributes

func (MssqlAttributes) MaxConnectionLifetime

func (m MssqlAttributes) MaxConnectionLifetime() terra.NumberValue

func (MssqlAttributes) MaxIdleConnections

func (m MssqlAttributes) MaxIdleConnections() terra.NumberValue

func (MssqlAttributes) MaxOpenConnections

func (m MssqlAttributes) MaxOpenConnections() terra.NumberValue

func (MssqlAttributes) Password

func (m MssqlAttributes) Password() terra.StringValue

func (MssqlAttributes) Username

func (m MssqlAttributes) Username() terra.StringValue

func (MssqlAttributes) UsernameTemplate

func (m MssqlAttributes) UsernameTemplate() terra.StringValue

type MssqlState

type MssqlState struct {
	ConnectionUrl         string  `json:"connection_url"`
	ContainedDb           bool    `json:"contained_db"`
	DisableEscaping       bool    `json:"disable_escaping"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type Mysql

type Mysql struct {
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type MysqlAttributes

type MysqlAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlAttributes) AuthType

func (m MysqlAttributes) AuthType() terra.StringValue

func (MysqlAttributes) ConnectionUrl

func (m MysqlAttributes) ConnectionUrl() terra.StringValue

func (MysqlAttributes) InternalRef

func (m MysqlAttributes) InternalRef() (terra.Reference, error)

func (MysqlAttributes) InternalTokens

func (m MysqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlAttributes) InternalWithRef

func (m MysqlAttributes) InternalWithRef(ref terra.Reference) MysqlAttributes

func (MysqlAttributes) MaxConnectionLifetime

func (m MysqlAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlAttributes) MaxIdleConnections

func (m MysqlAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlAttributes) MaxOpenConnections

func (m MysqlAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlAttributes) Password

func (m MysqlAttributes) Password() terra.StringValue

func (MysqlAttributes) ServiceAccountJson

func (m MysqlAttributes) ServiceAccountJson() terra.StringValue

func (MysqlAttributes) TlsCa

func (m MysqlAttributes) TlsCa() terra.StringValue

func (MysqlAttributes) TlsCertificateKey

func (m MysqlAttributes) TlsCertificateKey() terra.StringValue

func (MysqlAttributes) Username

func (m MysqlAttributes) Username() terra.StringValue

func (MysqlAttributes) UsernameTemplate

func (m MysqlAttributes) UsernameTemplate() terra.StringValue

type MysqlAurora

type MysqlAurora struct {
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type MysqlAuroraAttributes

type MysqlAuroraAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlAuroraAttributes) AuthType

func (ma MysqlAuroraAttributes) AuthType() terra.StringValue

func (MysqlAuroraAttributes) ConnectionUrl

func (ma MysqlAuroraAttributes) ConnectionUrl() terra.StringValue

func (MysqlAuroraAttributes) InternalRef

func (ma MysqlAuroraAttributes) InternalRef() (terra.Reference, error)

func (MysqlAuroraAttributes) InternalTokens

func (ma MysqlAuroraAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlAuroraAttributes) InternalWithRef

func (MysqlAuroraAttributes) MaxConnectionLifetime

func (ma MysqlAuroraAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlAuroraAttributes) MaxIdleConnections

func (ma MysqlAuroraAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlAuroraAttributes) MaxOpenConnections

func (ma MysqlAuroraAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlAuroraAttributes) Password

func (ma MysqlAuroraAttributes) Password() terra.StringValue

func (MysqlAuroraAttributes) ServiceAccountJson

func (ma MysqlAuroraAttributes) ServiceAccountJson() terra.StringValue

func (MysqlAuroraAttributes) TlsCa

func (MysqlAuroraAttributes) TlsCertificateKey

func (ma MysqlAuroraAttributes) TlsCertificateKey() terra.StringValue

func (MysqlAuroraAttributes) Username

func (ma MysqlAuroraAttributes) Username() terra.StringValue

func (MysqlAuroraAttributes) UsernameTemplate

func (ma MysqlAuroraAttributes) UsernameTemplate() terra.StringValue

type MysqlAuroraState

type MysqlAuroraState struct {
	AuthType              string  `json:"auth_type"`
	ConnectionUrl         string  `json:"connection_url"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	ServiceAccountJson    string  `json:"service_account_json"`
	TlsCa                 string  `json:"tls_ca"`
	TlsCertificateKey     string  `json:"tls_certificate_key"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type MysqlLegacy

type MysqlLegacy struct {
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type MysqlLegacyAttributes

type MysqlLegacyAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlLegacyAttributes) AuthType

func (ml MysqlLegacyAttributes) AuthType() terra.StringValue

func (MysqlLegacyAttributes) ConnectionUrl

func (ml MysqlLegacyAttributes) ConnectionUrl() terra.StringValue

func (MysqlLegacyAttributes) InternalRef

func (ml MysqlLegacyAttributes) InternalRef() (terra.Reference, error)

func (MysqlLegacyAttributes) InternalTokens

func (ml MysqlLegacyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlLegacyAttributes) InternalWithRef

func (MysqlLegacyAttributes) MaxConnectionLifetime

func (ml MysqlLegacyAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlLegacyAttributes) MaxIdleConnections

func (ml MysqlLegacyAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlLegacyAttributes) MaxOpenConnections

func (ml MysqlLegacyAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlLegacyAttributes) Password

func (ml MysqlLegacyAttributes) Password() terra.StringValue

func (MysqlLegacyAttributes) ServiceAccountJson

func (ml MysqlLegacyAttributes) ServiceAccountJson() terra.StringValue

func (MysqlLegacyAttributes) TlsCa

func (MysqlLegacyAttributes) TlsCertificateKey

func (ml MysqlLegacyAttributes) TlsCertificateKey() terra.StringValue

func (MysqlLegacyAttributes) Username

func (ml MysqlLegacyAttributes) Username() terra.StringValue

func (MysqlLegacyAttributes) UsernameTemplate

func (ml MysqlLegacyAttributes) UsernameTemplate() terra.StringValue

type MysqlLegacyState

type MysqlLegacyState struct {
	AuthType              string  `json:"auth_type"`
	ConnectionUrl         string  `json:"connection_url"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	ServiceAccountJson    string  `json:"service_account_json"`
	TlsCa                 string  `json:"tls_ca"`
	TlsCertificateKey     string  `json:"tls_certificate_key"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type MysqlRds

type MysqlRds struct {
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// TlsCa: string, optional
	TlsCa terra.StringValue `hcl:"tls_ca,attr"`
	// TlsCertificateKey: string, optional
	TlsCertificateKey terra.StringValue `hcl:"tls_certificate_key,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type MysqlRdsAttributes

type MysqlRdsAttributes struct {
	// contains filtered or unexported fields
}

func (MysqlRdsAttributes) AuthType

func (mr MysqlRdsAttributes) AuthType() terra.StringValue

func (MysqlRdsAttributes) ConnectionUrl

func (mr MysqlRdsAttributes) ConnectionUrl() terra.StringValue

func (MysqlRdsAttributes) InternalRef

func (mr MysqlRdsAttributes) InternalRef() (terra.Reference, error)

func (MysqlRdsAttributes) InternalTokens

func (mr MysqlRdsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MysqlRdsAttributes) InternalWithRef

func (mr MysqlRdsAttributes) InternalWithRef(ref terra.Reference) MysqlRdsAttributes

func (MysqlRdsAttributes) MaxConnectionLifetime

func (mr MysqlRdsAttributes) MaxConnectionLifetime() terra.NumberValue

func (MysqlRdsAttributes) MaxIdleConnections

func (mr MysqlRdsAttributes) MaxIdleConnections() terra.NumberValue

func (MysqlRdsAttributes) MaxOpenConnections

func (mr MysqlRdsAttributes) MaxOpenConnections() terra.NumberValue

func (MysqlRdsAttributes) Password

func (mr MysqlRdsAttributes) Password() terra.StringValue

func (MysqlRdsAttributes) ServiceAccountJson

func (mr MysqlRdsAttributes) ServiceAccountJson() terra.StringValue

func (MysqlRdsAttributes) TlsCa

func (MysqlRdsAttributes) TlsCertificateKey

func (mr MysqlRdsAttributes) TlsCertificateKey() terra.StringValue

func (MysqlRdsAttributes) Username

func (mr MysqlRdsAttributes) Username() terra.StringValue

func (MysqlRdsAttributes) UsernameTemplate

func (mr MysqlRdsAttributes) UsernameTemplate() terra.StringValue

type MysqlRdsState

type MysqlRdsState struct {
	AuthType              string  `json:"auth_type"`
	ConnectionUrl         string  `json:"connection_url"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	ServiceAccountJson    string  `json:"service_account_json"`
	TlsCa                 string  `json:"tls_ca"`
	TlsCertificateKey     string  `json:"tls_certificate_key"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type MysqlState

type MysqlState struct {
	AuthType              string  `json:"auth_type"`
	ConnectionUrl         string  `json:"connection_url"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	ServiceAccountJson    string  `json:"service_account_json"`
	TlsCa                 string  `json:"tls_ca"`
	TlsCertificateKey     string  `json:"tls_certificate_key"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type Oracle

type Oracle struct {
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// DisconnectSessions: bool, optional
	DisconnectSessions terra.BoolValue `hcl:"disconnect_sessions,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// SplitStatements: bool, optional
	SplitStatements terra.BoolValue `hcl:"split_statements,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type OracleAttributes

type OracleAttributes struct {
	// contains filtered or unexported fields
}

func (OracleAttributes) ConnectionUrl

func (o OracleAttributes) ConnectionUrl() terra.StringValue

func (OracleAttributes) DisconnectSessions

func (o OracleAttributes) DisconnectSessions() terra.BoolValue

func (OracleAttributes) InternalRef

func (o OracleAttributes) InternalRef() (terra.Reference, error)

func (OracleAttributes) InternalTokens

func (o OracleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OracleAttributes) InternalWithRef

func (o OracleAttributes) InternalWithRef(ref terra.Reference) OracleAttributes

func (OracleAttributes) MaxConnectionLifetime

func (o OracleAttributes) MaxConnectionLifetime() terra.NumberValue

func (OracleAttributes) MaxIdleConnections

func (o OracleAttributes) MaxIdleConnections() terra.NumberValue

func (OracleAttributes) MaxOpenConnections

func (o OracleAttributes) MaxOpenConnections() terra.NumberValue

func (OracleAttributes) Password

func (o OracleAttributes) Password() terra.StringValue

func (OracleAttributes) SplitStatements

func (o OracleAttributes) SplitStatements() terra.BoolValue

func (OracleAttributes) Username

func (o OracleAttributes) Username() terra.StringValue

func (OracleAttributes) UsernameTemplate

func (o OracleAttributes) UsernameTemplate() terra.StringValue

type OracleState

type OracleState struct {
	ConnectionUrl         string  `json:"connection_url"`
	DisconnectSessions    bool    `json:"disconnect_sessions"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	SplitStatements       bool    `json:"split_statements"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type Postgresql

type Postgresql struct {
	// AuthType: string, optional
	AuthType terra.StringValue `hcl:"auth_type,attr"`
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// ServiceAccountJson: string, optional
	ServiceAccountJson terra.StringValue `hcl:"service_account_json,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type PostgresqlAttributes

type PostgresqlAttributes struct {
	// contains filtered or unexported fields
}

func (PostgresqlAttributes) AuthType

func (p PostgresqlAttributes) AuthType() terra.StringValue

func (PostgresqlAttributes) ConnectionUrl

func (p PostgresqlAttributes) ConnectionUrl() terra.StringValue

func (PostgresqlAttributes) DisableEscaping

func (p PostgresqlAttributes) DisableEscaping() terra.BoolValue

func (PostgresqlAttributes) InternalRef

func (p PostgresqlAttributes) InternalRef() (terra.Reference, error)

func (PostgresqlAttributes) InternalTokens

func (p PostgresqlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PostgresqlAttributes) InternalWithRef

func (PostgresqlAttributes) MaxConnectionLifetime

func (p PostgresqlAttributes) MaxConnectionLifetime() terra.NumberValue

func (PostgresqlAttributes) MaxIdleConnections

func (p PostgresqlAttributes) MaxIdleConnections() terra.NumberValue

func (PostgresqlAttributes) MaxOpenConnections

func (p PostgresqlAttributes) MaxOpenConnections() terra.NumberValue

func (PostgresqlAttributes) Password

func (p PostgresqlAttributes) Password() terra.StringValue

func (PostgresqlAttributes) ServiceAccountJson

func (p PostgresqlAttributes) ServiceAccountJson() terra.StringValue

func (PostgresqlAttributes) Username

func (p PostgresqlAttributes) Username() terra.StringValue

func (PostgresqlAttributes) UsernameTemplate

func (p PostgresqlAttributes) UsernameTemplate() terra.StringValue

type PostgresqlState

type PostgresqlState struct {
	AuthType              string  `json:"auth_type"`
	ConnectionUrl         string  `json:"connection_url"`
	DisableEscaping       bool    `json:"disable_escaping"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	ServiceAccountJson    string  `json:"service_account_json"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type Redis

type Redis struct {
	// CaCert: string, optional
	CaCert terra.StringValue `hcl:"ca_cert,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// InsecureTls: bool, optional
	InsecureTls terra.BoolValue `hcl:"insecure_tls,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Tls: bool, optional
	Tls terra.BoolValue `hcl:"tls,attr"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type RedisAttributes

type RedisAttributes struct {
	// contains filtered or unexported fields
}

func (RedisAttributes) CaCert

func (r RedisAttributes) CaCert() terra.StringValue

func (RedisAttributes) Host

func (RedisAttributes) InsecureTls

func (r RedisAttributes) InsecureTls() terra.BoolValue

func (RedisAttributes) InternalRef

func (r RedisAttributes) InternalRef() (terra.Reference, error)

func (RedisAttributes) InternalTokens

func (r RedisAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedisAttributes) InternalWithRef

func (r RedisAttributes) InternalWithRef(ref terra.Reference) RedisAttributes

func (RedisAttributes) Password

func (r RedisAttributes) Password() terra.StringValue

func (RedisAttributes) Port

func (RedisAttributes) Tls

func (RedisAttributes) Username

func (r RedisAttributes) Username() terra.StringValue

type RedisElasticache

type RedisElasticache struct {
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
}

type RedisElasticacheAttributes

type RedisElasticacheAttributes struct {
	// contains filtered or unexported fields
}

func (RedisElasticacheAttributes) InternalRef

func (re RedisElasticacheAttributes) InternalRef() (terra.Reference, error)

func (RedisElasticacheAttributes) InternalTokens

func (re RedisElasticacheAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedisElasticacheAttributes) InternalWithRef

func (RedisElasticacheAttributes) Password

func (RedisElasticacheAttributes) Region

func (RedisElasticacheAttributes) Url

func (RedisElasticacheAttributes) Username

type RedisElasticacheState

type RedisElasticacheState struct {
	Password string `json:"password"`
	Region   string `json:"region"`
	Url      string `json:"url"`
	Username string `json:"username"`
}

type RedisState

type RedisState struct {
	CaCert      string  `json:"ca_cert"`
	Host        string  `json:"host"`
	InsecureTls bool    `json:"insecure_tls"`
	Password    string  `json:"password"`
	Port        float64 `json:"port"`
	Tls         bool    `json:"tls"`
	Username    string  `json:"username"`
}

type Redshift

type Redshift struct {
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// DisableEscaping: bool, optional
	DisableEscaping terra.BoolValue `hcl:"disable_escaping,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type RedshiftAttributes

type RedshiftAttributes struct {
	// contains filtered or unexported fields
}

func (RedshiftAttributes) ConnectionUrl

func (r RedshiftAttributes) ConnectionUrl() terra.StringValue

func (RedshiftAttributes) DisableEscaping

func (r RedshiftAttributes) DisableEscaping() terra.BoolValue

func (RedshiftAttributes) InternalRef

func (r RedshiftAttributes) InternalRef() (terra.Reference, error)

func (RedshiftAttributes) InternalTokens

func (r RedshiftAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedshiftAttributes) InternalWithRef

func (r RedshiftAttributes) InternalWithRef(ref terra.Reference) RedshiftAttributes

func (RedshiftAttributes) MaxConnectionLifetime

func (r RedshiftAttributes) MaxConnectionLifetime() terra.NumberValue

func (RedshiftAttributes) MaxIdleConnections

func (r RedshiftAttributes) MaxIdleConnections() terra.NumberValue

func (RedshiftAttributes) MaxOpenConnections

func (r RedshiftAttributes) MaxOpenConnections() terra.NumberValue

func (RedshiftAttributes) Password

func (r RedshiftAttributes) Password() terra.StringValue

func (RedshiftAttributes) Username

func (r RedshiftAttributes) Username() terra.StringValue

func (RedshiftAttributes) UsernameTemplate

func (r RedshiftAttributes) UsernameTemplate() terra.StringValue

type RedshiftState

type RedshiftState struct {
	ConnectionUrl         string  `json:"connection_url"`
	DisableEscaping       bool    `json:"disable_escaping"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource vault_database_secret_backend_connection.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (vdsbc *Resource) Attributes() vaultDatabaseSecretBackendConnectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (vdsbc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (vdsbc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (vdsbc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (vdsbc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (vdsbc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (vdsbc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (vdsbc *Resource) State() (*vaultDatabaseSecretBackendConnectionState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (vdsbc *Resource) StateMust() *vaultDatabaseSecretBackendConnectionState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (vdsbc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Snowflake

type Snowflake struct {
	// ConnectionUrl: string, optional
	ConnectionUrl terra.StringValue `hcl:"connection_url,attr"`
	// MaxConnectionLifetime: number, optional
	MaxConnectionLifetime terra.NumberValue `hcl:"max_connection_lifetime,attr"`
	// MaxIdleConnections: number, optional
	MaxIdleConnections terra.NumberValue `hcl:"max_idle_connections,attr"`
	// MaxOpenConnections: number, optional
	MaxOpenConnections terra.NumberValue `hcl:"max_open_connections,attr"`
	// Password: string, optional
	Password terra.StringValue `hcl:"password,attr"`
	// Username: string, optional
	Username terra.StringValue `hcl:"username,attr"`
	// UsernameTemplate: string, optional
	UsernameTemplate terra.StringValue `hcl:"username_template,attr"`
}

type SnowflakeAttributes

type SnowflakeAttributes struct {
	// contains filtered or unexported fields
}

func (SnowflakeAttributes) ConnectionUrl

func (s SnowflakeAttributes) ConnectionUrl() terra.StringValue

func (SnowflakeAttributes) InternalRef

func (s SnowflakeAttributes) InternalRef() (terra.Reference, error)

func (SnowflakeAttributes) InternalTokens

func (s SnowflakeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SnowflakeAttributes) InternalWithRef

func (s SnowflakeAttributes) InternalWithRef(ref terra.Reference) SnowflakeAttributes

func (SnowflakeAttributes) MaxConnectionLifetime

func (s SnowflakeAttributes) MaxConnectionLifetime() terra.NumberValue

func (SnowflakeAttributes) MaxIdleConnections

func (s SnowflakeAttributes) MaxIdleConnections() terra.NumberValue

func (SnowflakeAttributes) MaxOpenConnections

func (s SnowflakeAttributes) MaxOpenConnections() terra.NumberValue

func (SnowflakeAttributes) Password

func (s SnowflakeAttributes) Password() terra.StringValue

func (SnowflakeAttributes) Username

func (s SnowflakeAttributes) Username() terra.StringValue

func (SnowflakeAttributes) UsernameTemplate

func (s SnowflakeAttributes) UsernameTemplate() terra.StringValue

type SnowflakeState

type SnowflakeState struct {
	ConnectionUrl         string  `json:"connection_url"`
	MaxConnectionLifetime float64 `json:"max_connection_lifetime"`
	MaxIdleConnections    float64 `json:"max_idle_connections"`
	MaxOpenConnections    float64 `json:"max_open_connections"`
	Password              string  `json:"password"`
	Username              string  `json:"username"`
	UsernameTemplate      string  `json:"username_template"`
}

Jump to

Keyboard shortcuts

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