Documentation ¶
Index ¶
- type Args
- type Resource
- func (agp *Resource) Attributes() awsGluePartitionAttributes
- func (agp *Resource) Configuration() interface{}
- func (agp *Resource) DependOn() terra.Reference
- func (agp *Resource) Dependencies() terra.Dependencies
- func (agp *Resource) ImportState(state io.Reader) error
- func (agp *Resource) LifecycleManagement() *terra.Lifecycle
- func (agp *Resource) LocalName() string
- func (agp *Resource) State() (*awsGluePartitionState, bool)
- func (agp *Resource) StateMust() *awsGluePartitionState
- func (agp *Resource) Type() string
- type StorageDescriptor
- type StorageDescriptorAttributes
- func (sd StorageDescriptorAttributes) BucketColumns() terra.ListValue[terra.StringValue]
- func (sd StorageDescriptorAttributes) Columns() terra.ListValue[StorageDescriptorColumnsAttributes]
- func (sd StorageDescriptorAttributes) Compressed() terra.BoolValue
- func (sd StorageDescriptorAttributes) InputFormat() terra.StringValue
- func (sd StorageDescriptorAttributes) InternalRef() (terra.Reference, error)
- func (sd StorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd StorageDescriptorAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorAttributes
- func (sd StorageDescriptorAttributes) Location() terra.StringValue
- func (sd StorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue
- func (sd StorageDescriptorAttributes) OutputFormat() terra.StringValue
- func (sd StorageDescriptorAttributes) Parameters() terra.MapValue[terra.StringValue]
- func (sd StorageDescriptorAttributes) SerDeInfo() terra.ListValue[StorageDescriptorSerDeInfoAttributes]
- func (sd StorageDescriptorAttributes) SkewedInfo() terra.ListValue[StorageDescriptorSkewedInfoAttributes]
- func (sd StorageDescriptorAttributes) SortColumns() terra.ListValue[StorageDescriptorSortColumnsAttributes]
- func (sd StorageDescriptorAttributes) StoredAsSubDirectories() terra.BoolValue
- type StorageDescriptorColumns
- type StorageDescriptorColumnsAttributes
- func (c StorageDescriptorColumnsAttributes) Comment() terra.StringValue
- func (c StorageDescriptorColumnsAttributes) InternalRef() (terra.Reference, error)
- func (c StorageDescriptorColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c StorageDescriptorColumnsAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorColumnsAttributes
- func (c StorageDescriptorColumnsAttributes) Name() terra.StringValue
- func (c StorageDescriptorColumnsAttributes) Type() terra.StringValue
- type StorageDescriptorColumnsState
- type StorageDescriptorSerDeInfo
- type StorageDescriptorSerDeInfoAttributes
- func (sdi StorageDescriptorSerDeInfoAttributes) InternalRef() (terra.Reference, error)
- func (sdi StorageDescriptorSerDeInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sdi StorageDescriptorSerDeInfoAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorSerDeInfoAttributes
- func (sdi StorageDescriptorSerDeInfoAttributes) Name() terra.StringValue
- func (sdi StorageDescriptorSerDeInfoAttributes) Parameters() terra.MapValue[terra.StringValue]
- func (sdi StorageDescriptorSerDeInfoAttributes) SerializationLibrary() terra.StringValue
- type StorageDescriptorSerDeInfoState
- type StorageDescriptorSkewedInfo
- type StorageDescriptorSkewedInfoAttributes
- func (si StorageDescriptorSkewedInfoAttributes) InternalRef() (terra.Reference, error)
- func (si StorageDescriptorSkewedInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si StorageDescriptorSkewedInfoAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorSkewedInfoAttributes
- func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnNames() terra.ListValue[terra.StringValue]
- func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps() terra.MapValue[terra.StringValue]
- func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnValues() terra.ListValue[terra.StringValue]
- type StorageDescriptorSkewedInfoState
- type StorageDescriptorSortColumns
- type StorageDescriptorSortColumnsAttributes
- func (sc StorageDescriptorSortColumnsAttributes) Column() terra.StringValue
- func (sc StorageDescriptorSortColumnsAttributes) InternalRef() (terra.Reference, error)
- func (sc StorageDescriptorSortColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc StorageDescriptorSortColumnsAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorSortColumnsAttributes
- func (sc StorageDescriptorSortColumnsAttributes) SortOrder() terra.NumberValue
- type StorageDescriptorSortColumnsState
- type StorageDescriptorState
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"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Parameters: map of string, optional Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"` // PartitionValues: list of string, required PartitionValues terra.ListValue[terra.StringValue] `hcl:"partition_values,attr" validate:"required"` // TableName: string, required TableName terra.StringValue `hcl:"table_name,attr" validate:"required"` // StorageDescriptor: optional StorageDescriptor *StorageDescriptor `hcl:"storage_descriptor,block"` }
Args contains the configurations for aws_glue_partition.
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_partition.
func (*Resource) Attributes ¶
func (agp *Resource) Attributes() awsGluePartitionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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"` // 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 (sd StorageDescriptorAttributes) BucketColumns() terra.ListValue[terra.StringValue]
func (StorageDescriptorAttributes) Columns ¶
func (sd StorageDescriptorAttributes) Columns() terra.ListValue[StorageDescriptorColumnsAttributes]
func (StorageDescriptorAttributes) Compressed ¶
func (sd StorageDescriptorAttributes) Compressed() terra.BoolValue
func (StorageDescriptorAttributes) InputFormat ¶
func (sd StorageDescriptorAttributes) InputFormat() terra.StringValue
func (StorageDescriptorAttributes) InternalRef ¶
func (sd StorageDescriptorAttributes) InternalRef() (terra.Reference, error)
func (StorageDescriptorAttributes) InternalTokens ¶
func (sd StorageDescriptorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageDescriptorAttributes) InternalWithRef ¶
func (sd StorageDescriptorAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorAttributes
func (StorageDescriptorAttributes) Location ¶
func (sd StorageDescriptorAttributes) Location() terra.StringValue
func (StorageDescriptorAttributes) NumberOfBuckets ¶
func (sd StorageDescriptorAttributes) NumberOfBuckets() terra.NumberValue
func (StorageDescriptorAttributes) OutputFormat ¶
func (sd StorageDescriptorAttributes) OutputFormat() terra.StringValue
func (StorageDescriptorAttributes) Parameters ¶
func (sd StorageDescriptorAttributes) Parameters() terra.MapValue[terra.StringValue]
func (StorageDescriptorAttributes) SerDeInfo ¶
func (sd StorageDescriptorAttributes) SerDeInfo() terra.ListValue[StorageDescriptorSerDeInfoAttributes]
func (StorageDescriptorAttributes) SkewedInfo ¶
func (sd StorageDescriptorAttributes) SkewedInfo() terra.ListValue[StorageDescriptorSkewedInfoAttributes]
func (StorageDescriptorAttributes) SortColumns ¶
func (sd StorageDescriptorAttributes) SortColumns() terra.ListValue[StorageDescriptorSortColumnsAttributes]
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"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type StorageDescriptorColumnsAttributes ¶
type StorageDescriptorColumnsAttributes struct {
// contains filtered or unexported fields
}
func (StorageDescriptorColumnsAttributes) Comment ¶
func (c StorageDescriptorColumnsAttributes) Comment() terra.StringValue
func (StorageDescriptorColumnsAttributes) InternalRef ¶
func (c StorageDescriptorColumnsAttributes) InternalRef() (terra.Reference, error)
func (StorageDescriptorColumnsAttributes) InternalTokens ¶
func (c StorageDescriptorColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageDescriptorColumnsAttributes) InternalWithRef ¶
func (c StorageDescriptorColumnsAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorColumnsAttributes
func (StorageDescriptorColumnsAttributes) Name ¶
func (c StorageDescriptorColumnsAttributes) Name() terra.StringValue
func (StorageDescriptorColumnsAttributes) Type ¶
func (c StorageDescriptorColumnsAttributes) Type() terra.StringValue
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 (sdi StorageDescriptorSerDeInfoAttributes) InternalRef() (terra.Reference, error)
func (StorageDescriptorSerDeInfoAttributes) InternalTokens ¶
func (sdi StorageDescriptorSerDeInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageDescriptorSerDeInfoAttributes) InternalWithRef ¶
func (sdi StorageDescriptorSerDeInfoAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorSerDeInfoAttributes
func (StorageDescriptorSerDeInfoAttributes) Name ¶
func (sdi StorageDescriptorSerDeInfoAttributes) Name() terra.StringValue
func (StorageDescriptorSerDeInfoAttributes) Parameters ¶
func (sdi StorageDescriptorSerDeInfoAttributes) Parameters() terra.MapValue[terra.StringValue]
func (StorageDescriptorSerDeInfoAttributes) SerializationLibrary ¶
func (sdi StorageDescriptorSerDeInfoAttributes) SerializationLibrary() terra.StringValue
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 (si StorageDescriptorSkewedInfoAttributes) InternalRef() (terra.Reference, error)
func (StorageDescriptorSkewedInfoAttributes) InternalTokens ¶
func (si StorageDescriptorSkewedInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageDescriptorSkewedInfoAttributes) InternalWithRef ¶
func (si StorageDescriptorSkewedInfoAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorSkewedInfoAttributes
func (StorageDescriptorSkewedInfoAttributes) SkewedColumnNames ¶
func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnNames() terra.ListValue[terra.StringValue]
func (StorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps ¶
func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnValueLocationMaps() terra.MapValue[terra.StringValue]
func (StorageDescriptorSkewedInfoAttributes) SkewedColumnValues ¶
func (si StorageDescriptorSkewedInfoAttributes) SkewedColumnValues() terra.ListValue[terra.StringValue]
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 (sc StorageDescriptorSortColumnsAttributes) Column() terra.StringValue
func (StorageDescriptorSortColumnsAttributes) InternalRef ¶
func (sc StorageDescriptorSortColumnsAttributes) InternalRef() (terra.Reference, error)
func (StorageDescriptorSortColumnsAttributes) InternalTokens ¶
func (sc StorageDescriptorSortColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageDescriptorSortColumnsAttributes) InternalWithRef ¶
func (sc StorageDescriptorSortColumnsAttributes) InternalWithRef(ref terra.Reference) StorageDescriptorSortColumnsAttributes
func (StorageDescriptorSortColumnsAttributes) SortOrder ¶
func (sc StorageDescriptorSortColumnsAttributes) SortOrder() terra.NumberValue
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"` SerDeInfo []StorageDescriptorSerDeInfoState `json:"ser_de_info"` SkewedInfo []StorageDescriptorSkewedInfoState `json:"skewed_info"` SortColumns []StorageDescriptorSortColumnsState `json:"sort_columns"` }
Click to show internal directories.
Click to hide internal directories.