lakeformationpermissions

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 DataLocation

type DataLocation struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
}

type DataLocationAttributes

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

func (DataLocationAttributes) Arn

func (DataLocationAttributes) CatalogId

func (dl DataLocationAttributes) CatalogId() terra.StringValue

func (DataLocationAttributes) InternalRef

func (dl DataLocationAttributes) InternalRef() (terra.Reference, error)

func (DataLocationAttributes) InternalTokens

func (dl DataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataLocationAttributes) InternalWithRef

type DataLocationState

type DataLocationState struct {
	Arn       string `json:"arn"`
	CatalogId string `json:"catalog_id"`
}

type Database

type Database struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type DatabaseAttributes

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

func (DatabaseAttributes) CatalogId

func (d DatabaseAttributes) CatalogId() terra.StringValue

func (DatabaseAttributes) InternalRef

func (d DatabaseAttributes) InternalRef() (terra.Reference, error)

func (DatabaseAttributes) InternalTokens

func (d DatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DatabaseAttributes) InternalWithRef

func (d DatabaseAttributes) InternalWithRef(ref terra.Reference) DatabaseAttributes

func (DatabaseAttributes) Name

type DatabaseState

type DatabaseState struct {
	CatalogId string `json:"catalog_id"`
	Name      string `json:"name"`
}

type Expression

type Expression struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Values: set of string, required
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type ExpressionAttributes

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

func (ExpressionAttributes) InternalRef

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

func (ExpressionAttributes) InternalTokens

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

func (ExpressionAttributes) InternalWithRef

func (ExpressionAttributes) Key

func (ExpressionAttributes) Values

type ExpressionState

type ExpressionState struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

type LfTag

type LfTag struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Values: set of string, required
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type LfTagAttributes

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

func (LfTagAttributes) CatalogId

func (lt LfTagAttributes) CatalogId() terra.StringValue

func (LfTagAttributes) InternalRef

func (lt LfTagAttributes) InternalRef() (terra.Reference, error)

func (LfTagAttributes) InternalTokens

func (lt LfTagAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LfTagAttributes) InternalWithRef

func (lt LfTagAttributes) InternalWithRef(ref terra.Reference) LfTagAttributes

func (LfTagAttributes) Key

func (LfTagAttributes) Values

type LfTagPolicy

type LfTagPolicy struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// ResourceType: string, required
	ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"`
	// Expression: min=1
	Expression []Expression `hcl:"expression,block" validate:"min=1"`
}

type LfTagPolicyAttributes

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

func (LfTagPolicyAttributes) CatalogId

func (ltp LfTagPolicyAttributes) CatalogId() terra.StringValue

func (LfTagPolicyAttributes) Expression

func (LfTagPolicyAttributes) InternalRef

func (ltp LfTagPolicyAttributes) InternalRef() (terra.Reference, error)

func (LfTagPolicyAttributes) InternalTokens

func (ltp LfTagPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LfTagPolicyAttributes) InternalWithRef

func (LfTagPolicyAttributes) ResourceType

func (ltp LfTagPolicyAttributes) ResourceType() terra.StringValue

type LfTagPolicyState

type LfTagPolicyState struct {
	CatalogId    string            `json:"catalog_id"`
	ResourceType string            `json:"resource_type"`
	Expression   []ExpressionState `json:"expression"`
}

type LfTagState

type LfTagState struct {
	CatalogId string   `json:"catalog_id"`
	Key       string   `json:"key"`
	Values    []string `json:"values"`
}

type Table

type Table struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Wildcard: bool, optional
	Wildcard terra.BoolValue `hcl:"wildcard,attr"`
}

type TableAttributes

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

func (TableAttributes) CatalogId

func (t TableAttributes) CatalogId() terra.StringValue

func (TableAttributes) DatabaseName

func (t TableAttributes) DatabaseName() terra.StringValue

func (TableAttributes) InternalRef

func (t TableAttributes) InternalRef() (terra.Reference, error)

func (TableAttributes) InternalTokens

func (t TableAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TableAttributes) InternalWithRef

func (t TableAttributes) InternalWithRef(ref terra.Reference) TableAttributes

func (TableAttributes) Name

func (TableAttributes) Wildcard

func (t TableAttributes) Wildcard() terra.BoolValue

type TableState

type TableState struct {
	CatalogId    string `json:"catalog_id"`
	DatabaseName string `json:"database_name"`
	Name         string `json:"name"`
	Wildcard     bool   `json:"wildcard"`
}

type TableWithColumns

type TableWithColumns struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// ColumnNames: set of string, optional
	ColumnNames terra.SetValue[terra.StringValue] `hcl:"column_names,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// ExcludedColumnNames: set of string, optional
	ExcludedColumnNames terra.SetValue[terra.StringValue] `hcl:"excluded_column_names,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Wildcard: bool, optional
	Wildcard terra.BoolValue `hcl:"wildcard,attr"`
}

type TableWithColumnsAttributes

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

func (TableWithColumnsAttributes) CatalogId

func (TableWithColumnsAttributes) ColumnNames

func (TableWithColumnsAttributes) DatabaseName

func (twc TableWithColumnsAttributes) DatabaseName() terra.StringValue

func (TableWithColumnsAttributes) ExcludedColumnNames

func (twc TableWithColumnsAttributes) ExcludedColumnNames() terra.SetValue[terra.StringValue]

func (TableWithColumnsAttributes) InternalRef

func (twc TableWithColumnsAttributes) InternalRef() (terra.Reference, error)

func (TableWithColumnsAttributes) InternalTokens

func (twc TableWithColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TableWithColumnsAttributes) InternalWithRef

func (TableWithColumnsAttributes) Name

func (TableWithColumnsAttributes) Wildcard

type TableWithColumnsState

type TableWithColumnsState struct {
	CatalogId           string   `json:"catalog_id"`
	ColumnNames         []string `json:"column_names"`
	DatabaseName        string   `json:"database_name"`
	ExcludedColumnNames []string `json:"excluded_column_names"`
	Name                string   `json:"name"`
	Wildcard            bool     `json:"wildcard"`
}

Jump to

Keyboard shortcuts

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