aws_glue_catalog_table

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 {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Owner: string, optional
	Owner terra.StringValue `hcl:"owner,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// Retention: number, optional
	Retention terra.NumberValue `hcl:"retention,attr"`
	// TableType: string, optional
	TableType terra.StringValue `hcl:"table_type,attr"`
	// ViewExpandedText: string, optional
	ViewExpandedText terra.StringValue `hcl:"view_expanded_text,attr"`
	// ViewOriginalText: string, optional
	ViewOriginalText terra.StringValue `hcl:"view_original_text,attr"`
	// OpenTableFormatInput: optional
	OpenTableFormatInput *OpenTableFormatInput `hcl:"open_table_format_input,block"`
	// PartitionIndex: min=0,max=3
	PartitionIndex []PartitionIndex `hcl:"partition_index,block" validate:"min=0,max=3"`
	// PartitionKeys: min=0
	PartitionKeys []PartitionKeys `hcl:"partition_keys,block" validate:"min=0"`
	// StorageDescriptor: optional
	StorageDescriptor *StorageDescriptor `hcl:"storage_descriptor,block"`
	// TargetTable: optional
	TargetTable *TargetTable `hcl:"target_table,block"`
}

Args contains the configurations for aws_glue_catalog_table.

type DataArgs

type DataArgs struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// QueryAsOfTime: string, optional
	QueryAsOfTime terra.StringValue `hcl:"query_as_of_time,attr"`
	// TransactionId: number, optional
	TransactionId terra.NumberValue `hcl:"transaction_id,attr"`
}

DataArgs contains the configurations for aws_glue_catalog_table.

type DataPartitionIndexAttributes

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

func (DataPartitionIndexAttributes) IndexName

func (DataPartitionIndexAttributes) IndexStatus

func (DataPartitionIndexAttributes) InternalRef

func (pi DataPartitionIndexAttributes) InternalRef() (terra.Reference, error)

func (DataPartitionIndexAttributes) InternalTokens

func (pi DataPartitionIndexAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPartitionIndexAttributes) InternalWithRef

func (DataPartitionIndexAttributes) Keys

type DataPartitionIndexState

type DataPartitionIndexState struct {
	IndexName   string   `json:"index_name"`
	IndexStatus string   `json:"index_status"`
	Keys        []string `json:"keys"`
}

type DataPartitionKeysAttributes

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

func (DataPartitionKeysAttributes) Comment

func (DataPartitionKeysAttributes) InternalRef

func (pk DataPartitionKeysAttributes) InternalRef() (terra.Reference, error)

func (DataPartitionKeysAttributes) InternalTokens

func (pk DataPartitionKeysAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPartitionKeysAttributes) InternalWithRef

func (DataPartitionKeysAttributes) Name

func (DataPartitionKeysAttributes) Type

type DataPartitionKeysState

type DataPartitionKeysState struct {
	Comment string `json:"comment"`
	Name    string `json:"name"`
	Type    string `json:"type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_glue_catalog_table.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (agct *DataSource) Attributes() dataAwsGlueCatalogTableAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (agct *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (agct *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (agct *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataStorageDescriptorAttributes

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

func (DataStorageDescriptorAttributes) BucketColumns

func (DataStorageDescriptorAttributes) Columns

func (DataStorageDescriptorAttributes) Compressed

func (DataStorageDescriptorAttributes) InputFormat

func (DataStorageDescriptorAttributes) InternalRef

func (DataStorageDescriptorAttributes) InternalTokens

func (sd DataStorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataStorageDescriptorAttributes) InternalWithRef

func (DataStorageDescriptorAttributes) Location

func (DataStorageDescriptorAttributes) NumberOfBuckets

func (sd DataStorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue

func (DataStorageDescriptorAttributes) OutputFormat

func (DataStorageDescriptorAttributes) Parameters

func (DataStorageDescriptorAttributes) SchemaReference

func (DataStorageDescriptorAttributes) SerDeInfo

func (DataStorageDescriptorAttributes) SkewedInfo

func (DataStorageDescriptorAttributes) SortColumns

func (DataStorageDescriptorAttributes) StoredAsSubDirectories

func (sd DataStorageDescriptorAttributes) StoredAsSubDirectories() terra.BoolValue

type DataStorageDescriptorColumnsAttributes

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

func (DataStorageDescriptorColumnsAttributes) Comment

func (DataStorageDescriptorColumnsAttributes) InternalRef

func (DataStorageDescriptorColumnsAttributes) InternalTokens

func (DataStorageDescriptorColumnsAttributes) InternalWithRef

func (DataStorageDescriptorColumnsAttributes) Name

func (DataStorageDescriptorColumnsAttributes) Parameters

func (DataStorageDescriptorColumnsAttributes) Type

type DataStorageDescriptorColumnsState

type DataStorageDescriptorColumnsState struct {
	Comment    string            `json:"comment"`
	Name       string            `json:"name"`
	Parameters map[string]string `json:"parameters"`
	Type       string            `json:"type"`
}

type DataStorageDescriptorSchemaReferenceAttributes

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

func (DataStorageDescriptorSchemaReferenceAttributes) InternalRef

func (DataStorageDescriptorSchemaReferenceAttributes) InternalTokens

func (DataStorageDescriptorSchemaReferenceAttributes) InternalWithRef

func (DataStorageDescriptorSchemaReferenceAttributes) SchemaId

func (DataStorageDescriptorSchemaReferenceAttributes) SchemaVersionId

func (DataStorageDescriptorSchemaReferenceAttributes) SchemaVersionNumber

type DataStorageDescriptorSchemaReferenceSchemaIdAttributes

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

func (DataStorageDescriptorSchemaReferenceSchemaIdAttributes) InternalRef

func (DataStorageDescriptorSchemaReferenceSchemaIdAttributes) InternalTokens

func (DataStorageDescriptorSchemaReferenceSchemaIdAttributes) InternalWithRef

func (DataStorageDescriptorSchemaReferenceSchemaIdAttributes) RegistryName

func (DataStorageDescriptorSchemaReferenceSchemaIdAttributes) SchemaArn

func (DataStorageDescriptorSchemaReferenceSchemaIdAttributes) SchemaName

type DataStorageDescriptorSchemaReferenceSchemaIdState

type DataStorageDescriptorSchemaReferenceSchemaIdState struct {
	RegistryName string `json:"registry_name"`
	SchemaArn    string `json:"schema_arn"`
	SchemaName   string `json:"schema_name"`
}

type DataStorageDescriptorSchemaReferenceState

type DataStorageDescriptorSchemaReferenceState struct {
	SchemaVersionId     string                                              `json:"schema_version_id"`
	SchemaVersionNumber float64                                             `json:"schema_version_number"`
	SchemaId            []DataStorageDescriptorSchemaReferenceSchemaIdState `json:"schema_id"`
}

type DataStorageDescriptorSerDeInfoAttributes

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

func (DataStorageDescriptorSerDeInfoAttributes) InternalRef

func (DataStorageDescriptorSerDeInfoAttributes) InternalTokens

func (DataStorageDescriptorSerDeInfoAttributes) InternalWithRef

func (DataStorageDescriptorSerDeInfoAttributes) Name

func (DataStorageDescriptorSerDeInfoAttributes) Parameters

func (DataStorageDescriptorSerDeInfoAttributes) SerializationLibrary

func (sdi DataStorageDescriptorSerDeInfoAttributes) SerializationLibrary() terra.StringValue

type DataStorageDescriptorSerDeInfoState

type DataStorageDescriptorSerDeInfoState struct {
	Name                 string            `json:"name"`
	Parameters           map[string]string `json:"parameters"`
	SerializationLibrary string            `json:"serialization_library"`
}

type DataStorageDescriptorSkewedInfoAttributes

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

func (DataStorageDescriptorSkewedInfoAttributes) InternalRef

func (DataStorageDescriptorSkewedInfoAttributes) InternalTokens

func (DataStorageDescriptorSkewedInfoAttributes) InternalWithRef

func (DataStorageDescriptorSkewedInfoAttributes) SkewedColumnNames

func (DataStorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps

func (si DataStorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps() terra.MapValue[terra.StringValue]

func (DataStorageDescriptorSkewedInfoAttributes) SkewedColumnValues

type DataStorageDescriptorSkewedInfoState

type DataStorageDescriptorSkewedInfoState struct {
	SkewedColumnNames             []string          `json:"skewed_column_names"`
	SkewedColumnValueLocationMaps map[string]string `json:"skewed_column_value_location_maps"`
	SkewedColumnValues            []string          `json:"skewed_column_values"`
}

type DataStorageDescriptorSortColumnsAttributes

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

func (DataStorageDescriptorSortColumnsAttributes) Column

func (DataStorageDescriptorSortColumnsAttributes) InternalRef

func (DataStorageDescriptorSortColumnsAttributes) InternalTokens

func (DataStorageDescriptorSortColumnsAttributes) InternalWithRef

func (DataStorageDescriptorSortColumnsAttributes) SortOrder

type DataStorageDescriptorSortColumnsState

type DataStorageDescriptorSortColumnsState struct {
	Column    string  `json:"column"`
	SortOrder float64 `json:"sort_order"`
}

type DataStorageDescriptorState

type DataStorageDescriptorState struct {
	BucketColumns          []string                                    `json:"bucket_columns"`
	Compressed             bool                                        `json:"compressed"`
	InputFormat            string                                      `json:"input_format"`
	Location               string                                      `json:"location"`
	NumberOfBuckets        float64                                     `json:"number_of_buckets"`
	OutputFormat           string                                      `json:"output_format"`
	Parameters             map[string]string                           `json:"parameters"`
	StoredAsSubDirectories bool                                        `json:"stored_as_sub_directories"`
	Columns                []DataStorageDescriptorColumnsState         `json:"columns"`
	SchemaReference        []DataStorageDescriptorSchemaReferenceState `json:"schema_reference"`
	SerDeInfo              []DataStorageDescriptorSerDeInfoState       `json:"ser_de_info"`
	SkewedInfo             []DataStorageDescriptorSkewedInfoState      `json:"skewed_info"`
	SortColumns            []DataStorageDescriptorSortColumnsState     `json:"sort_columns"`
}

type DataTargetTableAttributes

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

func (DataTargetTableAttributes) CatalogId

func (DataTargetTableAttributes) DatabaseName

func (tt DataTargetTableAttributes) DatabaseName() terra.StringValue

func (DataTargetTableAttributes) InternalRef

func (tt DataTargetTableAttributes) InternalRef() (terra.Reference, error)

func (DataTargetTableAttributes) InternalTokens

func (tt DataTargetTableAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTargetTableAttributes) InternalWithRef

func (DataTargetTableAttributes) Name

func (DataTargetTableAttributes) Region

type DataTargetTableState

type DataTargetTableState struct {
	CatalogId    string `json:"catalog_id"`
	DatabaseName string `json:"database_name"`
	Name         string `json:"name"`
	Region       string `json:"region"`
}

type OpenTableFormatInput

type OpenTableFormatInput struct {
	// OpenTableFormatInputIcebergInput: required
	IcebergInput *OpenTableFormatInputIcebergInput `hcl:"iceberg_input,block" validate:"required"`
}

type OpenTableFormatInputAttributes

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

func (OpenTableFormatInputAttributes) IcebergInput

func (OpenTableFormatInputAttributes) InternalRef

func (otfi OpenTableFormatInputAttributes) InternalRef() (terra.Reference, error)

func (OpenTableFormatInputAttributes) InternalTokens

func (otfi OpenTableFormatInputAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OpenTableFormatInputAttributes) InternalWithRef

type OpenTableFormatInputIcebergInput

type OpenTableFormatInputIcebergInput struct {
	// MetadataOperation: string, required
	MetadataOperation terra.StringValue `hcl:"metadata_operation,attr" validate:"required"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type OpenTableFormatInputIcebergInputAttributes

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

func (OpenTableFormatInputIcebergInputAttributes) InternalRef

func (OpenTableFormatInputIcebergInputAttributes) InternalTokens

func (OpenTableFormatInputIcebergInputAttributes) InternalWithRef

func (OpenTableFormatInputIcebergInputAttributes) MetadataOperation

func (OpenTableFormatInputIcebergInputAttributes) Version

type OpenTableFormatInputIcebergInputState

type OpenTableFormatInputIcebergInputState struct {
	MetadataOperation string `json:"metadata_operation"`
	Version           string `json:"version"`
}

type OpenTableFormatInputState

type OpenTableFormatInputState struct {
	IcebergInput []OpenTableFormatInputIcebergInputState `json:"iceberg_input"`
}

type PartitionIndex

type PartitionIndex struct {
	// IndexName: string, required
	IndexName terra.StringValue `hcl:"index_name,attr" validate:"required"`
	// Keys: list of string, required
	Keys terra.ListValue[terra.StringValue] `hcl:"keys,attr" validate:"required"`
}

type PartitionIndexAttributes

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

func (PartitionIndexAttributes) IndexName

func (PartitionIndexAttributes) IndexStatus

func (pi PartitionIndexAttributes) IndexStatus() terra.StringValue

func (PartitionIndexAttributes) InternalRef

func (pi PartitionIndexAttributes) InternalRef() (terra.Reference, error)

func (PartitionIndexAttributes) InternalTokens

func (pi PartitionIndexAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PartitionIndexAttributes) InternalWithRef

func (PartitionIndexAttributes) Keys

type PartitionIndexState

type PartitionIndexState struct {
	IndexName   string   `json:"index_name"`
	IndexStatus string   `json:"index_status"`
	Keys        []string `json:"keys"`
}

type PartitionKeys

type PartitionKeys struct {
	// Comment: string, optional
	Comment terra.StringValue `hcl:"comment,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type PartitionKeysAttributes

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

func (PartitionKeysAttributes) Comment

func (PartitionKeysAttributes) InternalRef

func (pk PartitionKeysAttributes) InternalRef() (terra.Reference, error)

func (PartitionKeysAttributes) InternalTokens

func (pk PartitionKeysAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PartitionKeysAttributes) InternalWithRef

func (PartitionKeysAttributes) Name

func (PartitionKeysAttributes) Type

type PartitionKeysState

type PartitionKeysState struct {
	Comment string `json:"comment"`
	Name    string `json:"name"`
	Type    string `json:"type"`
}

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 aws_glue_catalog_table.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (agct *Resource) Attributes() awsGlueCatalogTableAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (agct *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (agct *Resource) State() (*awsGlueCatalogTableState, bool)

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

func (*Resource) StateMust

func (agct *Resource) StateMust() *awsGlueCatalogTableState

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

func (*Resource) Type

func (agct *Resource) Type() string

Type returns the Terraform object type for Resource.

type StorageDescriptor

type StorageDescriptor struct {
	// BucketColumns: list of string, optional
	BucketColumns terra.ListValue[terra.StringValue] `hcl:"bucket_columns,attr"`
	// Compressed: bool, optional
	Compressed terra.BoolValue `hcl:"compressed,attr"`
	// InputFormat: string, optional
	InputFormat terra.StringValue `hcl:"input_format,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// NumberOfBuckets: number, optional
	NumberOfBuckets terra.NumberValue `hcl:"number_of_buckets,attr"`
	// OutputFormat: string, optional
	OutputFormat terra.StringValue `hcl:"output_format,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// StoredAsSubDirectories: bool, optional
	StoredAsSubDirectories terra.BoolValue `hcl:"stored_as_sub_directories,attr"`
	// StorageDescriptorColumns: min=0
	Columns []StorageDescriptorColumns `hcl:"columns,block" validate:"min=0"`
	// StorageDescriptorSchemaReference: optional
	SchemaReference *StorageDescriptorSchemaReference `hcl:"schema_reference,block"`
	// StorageDescriptorSerDeInfo: optional
	SerDeInfo *StorageDescriptorSerDeInfo `hcl:"ser_de_info,block"`
	// StorageDescriptorSkewedInfo: optional
	SkewedInfo *StorageDescriptorSkewedInfo `hcl:"skewed_info,block"`
	// StorageDescriptorSortColumns: min=0
	SortColumns []StorageDescriptorSortColumns `hcl:"sort_columns,block" validate:"min=0"`
}

type StorageDescriptorAttributes

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

func (StorageDescriptorAttributes) BucketColumns

func (StorageDescriptorAttributes) Columns

func (StorageDescriptorAttributes) Compressed

func (StorageDescriptorAttributes) InputFormat

func (StorageDescriptorAttributes) InternalRef

func (sd StorageDescriptorAttributes) InternalRef() (terra.Reference, error)

func (StorageDescriptorAttributes) InternalTokens

func (sd StorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageDescriptorAttributes) InternalWithRef

func (StorageDescriptorAttributes) Location

func (StorageDescriptorAttributes) NumberOfBuckets

func (sd StorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue

func (StorageDescriptorAttributes) OutputFormat

func (sd StorageDescriptorAttributes) OutputFormat() terra.StringValue

func (StorageDescriptorAttributes) Parameters

func (StorageDescriptorAttributes) SchemaReference

func (StorageDescriptorAttributes) SerDeInfo

func (StorageDescriptorAttributes) SkewedInfo

func (StorageDescriptorAttributes) SortColumns

func (StorageDescriptorAttributes) StoredAsSubDirectories

func (sd StorageDescriptorAttributes) StoredAsSubDirectories() terra.BoolValue

type StorageDescriptorColumns

type StorageDescriptorColumns struct {
	// Comment: string, optional
	Comment terra.StringValue `hcl:"comment,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type StorageDescriptorColumnsAttributes

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

func (StorageDescriptorColumnsAttributes) Comment

func (StorageDescriptorColumnsAttributes) InternalRef

func (StorageDescriptorColumnsAttributes) InternalTokens

func (StorageDescriptorColumnsAttributes) InternalWithRef

func (StorageDescriptorColumnsAttributes) Name

func (StorageDescriptorColumnsAttributes) Parameters

func (StorageDescriptorColumnsAttributes) Type

type StorageDescriptorColumnsState

type StorageDescriptorColumnsState struct {
	Comment    string            `json:"comment"`
	Name       string            `json:"name"`
	Parameters map[string]string `json:"parameters"`
	Type       string            `json:"type"`
}

type StorageDescriptorSchemaReference

type StorageDescriptorSchemaReference struct {
	// SchemaVersionId: string, optional
	SchemaVersionId terra.StringValue `hcl:"schema_version_id,attr"`
	// SchemaVersionNumber: number, required
	SchemaVersionNumber terra.NumberValue `hcl:"schema_version_number,attr" validate:"required"`
	// StorageDescriptorSchemaReferenceSchemaId: optional
	SchemaId *StorageDescriptorSchemaReferenceSchemaId `hcl:"schema_id,block"`
}

type StorageDescriptorSchemaReferenceAttributes

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

func (StorageDescriptorSchemaReferenceAttributes) InternalRef

func (StorageDescriptorSchemaReferenceAttributes) InternalTokens

func (StorageDescriptorSchemaReferenceAttributes) InternalWithRef

func (StorageDescriptorSchemaReferenceAttributes) SchemaId

func (StorageDescriptorSchemaReferenceAttributes) SchemaVersionId

func (StorageDescriptorSchemaReferenceAttributes) SchemaVersionNumber

type StorageDescriptorSchemaReferenceSchemaId

type StorageDescriptorSchemaReferenceSchemaId struct {
	// RegistryName: string, optional
	RegistryName terra.StringValue `hcl:"registry_name,attr"`
	// SchemaArn: string, optional
	SchemaArn terra.StringValue `hcl:"schema_arn,attr"`
	// SchemaName: string, optional
	SchemaName terra.StringValue `hcl:"schema_name,attr"`
}

type StorageDescriptorSchemaReferenceSchemaIdAttributes

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

func (StorageDescriptorSchemaReferenceSchemaIdAttributes) InternalRef

func (StorageDescriptorSchemaReferenceSchemaIdAttributes) InternalTokens

func (StorageDescriptorSchemaReferenceSchemaIdAttributes) InternalWithRef

func (StorageDescriptorSchemaReferenceSchemaIdAttributes) RegistryName

func (StorageDescriptorSchemaReferenceSchemaIdAttributes) SchemaArn

func (StorageDescriptorSchemaReferenceSchemaIdAttributes) SchemaName

type StorageDescriptorSchemaReferenceSchemaIdState

type StorageDescriptorSchemaReferenceSchemaIdState struct {
	RegistryName string `json:"registry_name"`
	SchemaArn    string `json:"schema_arn"`
	SchemaName   string `json:"schema_name"`
}

type StorageDescriptorSchemaReferenceState

type StorageDescriptorSchemaReferenceState struct {
	SchemaVersionId     string                                          `json:"schema_version_id"`
	SchemaVersionNumber float64                                         `json:"schema_version_number"`
	SchemaId            []StorageDescriptorSchemaReferenceSchemaIdState `json:"schema_id"`
}

type StorageDescriptorSerDeInfo

type StorageDescriptorSerDeInfo struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// SerializationLibrary: string, optional
	SerializationLibrary terra.StringValue `hcl:"serialization_library,attr"`
}

type StorageDescriptorSerDeInfoAttributes

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

func (StorageDescriptorSerDeInfoAttributes) InternalRef

func (StorageDescriptorSerDeInfoAttributes) InternalTokens

func (StorageDescriptorSerDeInfoAttributes) InternalWithRef

func (StorageDescriptorSerDeInfoAttributes) Name

func (StorageDescriptorSerDeInfoAttributes) Parameters

func (StorageDescriptorSerDeInfoAttributes) SerializationLibrary

func (sdi StorageDescriptorSerDeInfoAttributes) SerializationLibrary() terra.StringValue

type StorageDescriptorSerDeInfoState

type StorageDescriptorSerDeInfoState struct {
	Name                 string            `json:"name"`
	Parameters           map[string]string `json:"parameters"`
	SerializationLibrary string            `json:"serialization_library"`
}

type StorageDescriptorSkewedInfo

type StorageDescriptorSkewedInfo struct {
	// SkewedColumnNames: list of string, optional
	SkewedColumnNames terra.ListValue[terra.StringValue] `hcl:"skewed_column_names,attr"`
	// SkewedColumnValueLocationMaps: map of string, optional
	SkewedColumnValueLocationMaps terra.MapValue[terra.StringValue] `hcl:"skewed_column_value_location_maps,attr"`
	// SkewedColumnValues: list of string, optional
	SkewedColumnValues terra.ListValue[terra.StringValue] `hcl:"skewed_column_values,attr"`
}

type StorageDescriptorSkewedInfoAttributes

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

func (StorageDescriptorSkewedInfoAttributes) InternalRef

func (StorageDescriptorSkewedInfoAttributes) InternalTokens

func (StorageDescriptorSkewedInfoAttributes) InternalWithRef

func (StorageDescriptorSkewedInfoAttributes) SkewedColumnNames

func (StorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps

func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps() terra.MapValue[terra.StringValue]

func (StorageDescriptorSkewedInfoAttributes) SkewedColumnValues

type StorageDescriptorSkewedInfoState

type StorageDescriptorSkewedInfoState struct {
	SkewedColumnNames             []string          `json:"skewed_column_names"`
	SkewedColumnValueLocationMaps map[string]string `json:"skewed_column_value_location_maps"`
	SkewedColumnValues            []string          `json:"skewed_column_values"`
}

type StorageDescriptorSortColumns

type StorageDescriptorSortColumns struct {
	// Column: string, required
	Column terra.StringValue `hcl:"column,attr" validate:"required"`
	// SortOrder: number, required
	SortOrder terra.NumberValue `hcl:"sort_order,attr" validate:"required"`
}

type StorageDescriptorSortColumnsAttributes

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

func (StorageDescriptorSortColumnsAttributes) Column

func (StorageDescriptorSortColumnsAttributes) InternalRef

func (StorageDescriptorSortColumnsAttributes) InternalTokens

func (StorageDescriptorSortColumnsAttributes) InternalWithRef

func (StorageDescriptorSortColumnsAttributes) SortOrder

type StorageDescriptorSortColumnsState

type StorageDescriptorSortColumnsState struct {
	Column    string  `json:"column"`
	SortOrder float64 `json:"sort_order"`
}

type StorageDescriptorState

type StorageDescriptorState struct {
	BucketColumns          []string                                `json:"bucket_columns"`
	Compressed             bool                                    `json:"compressed"`
	InputFormat            string                                  `json:"input_format"`
	Location               string                                  `json:"location"`
	NumberOfBuckets        float64                                 `json:"number_of_buckets"`
	OutputFormat           string                                  `json:"output_format"`
	Parameters             map[string]string                       `json:"parameters"`
	StoredAsSubDirectories bool                                    `json:"stored_as_sub_directories"`
	Columns                []StorageDescriptorColumnsState         `json:"columns"`
	SchemaReference        []StorageDescriptorSchemaReferenceState `json:"schema_reference"`
	SerDeInfo              []StorageDescriptorSerDeInfoState       `json:"ser_de_info"`
	SkewedInfo             []StorageDescriptorSkewedInfoState      `json:"skewed_info"`
	SortColumns            []StorageDescriptorSortColumnsState     `json:"sort_columns"`
}

type TargetTable

type TargetTable 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"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
}

type TargetTableAttributes

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

func (TargetTableAttributes) CatalogId

func (tt TargetTableAttributes) CatalogId() terra.StringValue

func (TargetTableAttributes) DatabaseName

func (tt TargetTableAttributes) DatabaseName() terra.StringValue

func (TargetTableAttributes) InternalRef

func (tt TargetTableAttributes) InternalRef() (terra.Reference, error)

func (TargetTableAttributes) InternalTokens

func (tt TargetTableAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetTableAttributes) InternalWithRef

func (TargetTableAttributes) Name

func (TargetTableAttributes) Region

type TargetTableState

type TargetTableState struct {
	CatalogId    string `json:"catalog_id"`
	DatabaseName string `json:"database_name"`
	Name         string `json:"name"`
	Region       string `json:"region"`
}

Jump to

Keyboard shortcuts

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