Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresDBResource ¶
type PostgresDBResource struct {
pulumi.ResourceState
Roles []*postgresql.Role
DB *postgresql.Database
}
func NewPostgresDatabase ¶
func NewPostgresDatabase(ctx *pulumi.Context, name string, props PostgresDbProps, opts ...pulumi.ResourceOption) (*PostgresDBResource, error)
type PostgresDbProps ¶
type PostgresDbProps struct {
Database string `json:"database"`
DbRoles []PostgresDbRoleProps `json:"dbRoles"`
}
func (PostgresDbProps) String ¶
func (i PostgresDbProps) String() string
type PostgresDbRoleProps ¶
type PostgresDbRoleProps struct {
Permission PostgresUserPermission `json:"permission"`
}
type PostgresUserPermission ¶
type PostgresUserPermission string
const ( ReadWrite PostgresUserPermission = "rw" ReadOnly PostgresUserPermission = "ro" )
type PostgresUserProps ¶
type PostgresUserProps struct {
Username string `json:"username"`
Password pulumi.StringInput `json:"password"`
AssumeRole pulumi.StringInput `json:"assumeRole"`
Login bool `json:"login"`
}
type PostgresUsersResource ¶
type PostgresUsersResource struct {
pulumi.ResourceState
Users []*postgresql.Role
FailedUser string
}
func NewPostgresUsers ¶
func NewPostgresUsers(ctx *pulumi.Context, name string, props []PostgresUserProps, opts ...pulumi.ResourceOption) (*PostgresUsersResource, error)
Click to show internal directories.
Click to hide internal directories.