gluecatalogdatabase

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTableDefaultPermission

type CreateTableDefaultPermission struct {
	// Permissions: set of string, optional
	Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr"`
	// Principal: optional
	Principal *Principal `hcl:"principal,block"`
}

type CreateTableDefaultPermissionAttributes

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

func (CreateTableDefaultPermissionAttributes) InternalRef

func (CreateTableDefaultPermissionAttributes) InternalTokens

func (CreateTableDefaultPermissionAttributes) InternalWithRef

func (CreateTableDefaultPermissionAttributes) Permissions

func (CreateTableDefaultPermissionAttributes) Principal

type CreateTableDefaultPermissionState

type CreateTableDefaultPermissionState struct {
	Permissions []string         `json:"permissions"`
	Principal   []PrincipalState `json:"principal"`
}

type Principal

type Principal struct {
	// DataLakePrincipalIdentifier: string, optional
	DataLakePrincipalIdentifier terra.StringValue `hcl:"data_lake_principal_identifier,attr"`
}

type PrincipalAttributes

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

func (PrincipalAttributes) DataLakePrincipalIdentifier

func (p PrincipalAttributes) DataLakePrincipalIdentifier() terra.StringValue

func (PrincipalAttributes) InternalRef

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

func (PrincipalAttributes) InternalTokens

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

func (PrincipalAttributes) InternalWithRef

func (p PrincipalAttributes) InternalWithRef(ref terra.Reference) PrincipalAttributes

type PrincipalState

type PrincipalState struct {
	DataLakePrincipalIdentifier string `json:"data_lake_principal_identifier"`
}

type TargetDatabase

type TargetDatabase struct {
	// CatalogId: string, required
	CatalogId terra.StringValue `hcl:"catalog_id,attr" validate:"required"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
}

type TargetDatabaseAttributes

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

func (TargetDatabaseAttributes) CatalogId

func (TargetDatabaseAttributes) DatabaseName

func (td TargetDatabaseAttributes) DatabaseName() terra.StringValue

func (TargetDatabaseAttributes) InternalRef

func (td TargetDatabaseAttributes) InternalRef() (terra.Reference, error)

func (TargetDatabaseAttributes) InternalTokens

func (td TargetDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetDatabaseAttributes) InternalWithRef

func (TargetDatabaseAttributes) Region

type TargetDatabaseState

type TargetDatabaseState struct {
	CatalogId    string `json:"catalog_id"`
	DatabaseName string `json:"database_name"`
	Region       string `json:"region"`
}

Jump to

Keyboard shortcuts

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