Documentation ¶
Index ¶
- type CreateTableDefaultPermission
- type CreateTableDefaultPermissionAttributes
- func (ctdp CreateTableDefaultPermissionAttributes) InternalRef() (terra.Reference, error)
- func (ctdp CreateTableDefaultPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ctdp CreateTableDefaultPermissionAttributes) InternalWithRef(ref terra.Reference) CreateTableDefaultPermissionAttributes
- func (ctdp CreateTableDefaultPermissionAttributes) Permissions() terra.SetValue[terra.StringValue]
- func (ctdp CreateTableDefaultPermissionAttributes) Principal() terra.ListValue[PrincipalAttributes]
- type CreateTableDefaultPermissionState
- type Principal
- type PrincipalAttributes
- func (p PrincipalAttributes) DataLakePrincipalIdentifier() terra.StringValue
- func (p PrincipalAttributes) InternalRef() (terra.Reference, error)
- func (p PrincipalAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PrincipalAttributes) InternalWithRef(ref terra.Reference) PrincipalAttributes
- type PrincipalState
- type TargetDatabase
- type TargetDatabaseAttributes
- func (td TargetDatabaseAttributes) CatalogId() terra.StringValue
- func (td TargetDatabaseAttributes) DatabaseName() terra.StringValue
- func (td TargetDatabaseAttributes) InternalRef() (terra.Reference, error)
- func (td TargetDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (td TargetDatabaseAttributes) InternalWithRef(ref terra.Reference) TargetDatabaseAttributes
- func (td TargetDatabaseAttributes) Region() terra.StringValue
- type TargetDatabaseState
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 (ctdp CreateTableDefaultPermissionAttributes) InternalRef() (terra.Reference, error)
func (CreateTableDefaultPermissionAttributes) InternalTokens ¶
func (ctdp CreateTableDefaultPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreateTableDefaultPermissionAttributes) InternalWithRef ¶
func (ctdp CreateTableDefaultPermissionAttributes) InternalWithRef(ref terra.Reference) CreateTableDefaultPermissionAttributes
func (CreateTableDefaultPermissionAttributes) Permissions ¶
func (ctdp CreateTableDefaultPermissionAttributes) Permissions() terra.SetValue[terra.StringValue]
func (CreateTableDefaultPermissionAttributes) Principal ¶
func (ctdp CreateTableDefaultPermissionAttributes) Principal() terra.ListValue[PrincipalAttributes]
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 (td TargetDatabaseAttributes) CatalogId() terra.StringValue
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 (td TargetDatabaseAttributes) InternalWithRef(ref terra.Reference) TargetDatabaseAttributes
func (TargetDatabaseAttributes) Region ¶
func (td TargetDatabaseAttributes) Region() terra.StringValue
type TargetDatabaseState ¶
Click to show internal directories.
Click to hide internal directories.