kinesisanalyticsapplication

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 CloudwatchLoggingOptions

type CloudwatchLoggingOptions struct {
	// LogStreamArn: string, required
	LogStreamArn terra.StringValue `hcl:"log_stream_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type CloudwatchLoggingOptionsAttributes

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

func (CloudwatchLoggingOptionsAttributes) Id

func (CloudwatchLoggingOptionsAttributes) InternalRef

func (CloudwatchLoggingOptionsAttributes) InternalTokens

func (clo CloudwatchLoggingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchLoggingOptionsAttributes) InternalWithRef

func (CloudwatchLoggingOptionsAttributes) LogStreamArn

func (CloudwatchLoggingOptionsAttributes) RoleArn

type CloudwatchLoggingOptionsState

type CloudwatchLoggingOptionsState struct {
	Id           string `json:"id"`
	LogStreamArn string `json:"log_stream_arn"`
	RoleArn      string `json:"role_arn"`
}

type Inputs

type Inputs struct {
	// NamePrefix: string, required
	NamePrefix terra.StringValue `hcl:"name_prefix,attr" validate:"required"`
	// InputsKinesisFirehose: optional
	KinesisFirehose *InputsKinesisFirehose `hcl:"kinesis_firehose,block"`
	// InputsKinesisStream: optional
	KinesisStream *InputsKinesisStream `hcl:"kinesis_stream,block"`
	// Parallelism: optional
	Parallelism *Parallelism `hcl:"parallelism,block"`
	// ProcessingConfiguration: optional
	ProcessingConfiguration *ProcessingConfiguration `hcl:"processing_configuration,block"`
	// InputsSchema: required
	Schema *InputsSchema `hcl:"schema,block" validate:"required"`
	// StartingPositionConfiguration: min=0
	StartingPositionConfiguration []StartingPositionConfiguration `hcl:"starting_position_configuration,block" validate:"min=0"`
}

type InputsAttributes

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

func (InputsAttributes) Id

func (InputsAttributes) InternalRef

func (i InputsAttributes) InternalRef() (terra.Reference, error)

func (InputsAttributes) InternalTokens

func (i InputsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputsAttributes) InternalWithRef

func (i InputsAttributes) InternalWithRef(ref terra.Reference) InputsAttributes

func (InputsAttributes) KinesisFirehose

func (InputsAttributes) KinesisStream

func (InputsAttributes) NamePrefix

func (i InputsAttributes) NamePrefix() terra.StringValue

func (InputsAttributes) Parallelism

func (InputsAttributes) ProcessingConfiguration

func (InputsAttributes) Schema

func (InputsAttributes) StartingPositionConfiguration

func (i InputsAttributes) StartingPositionConfiguration() terra.ListValue[StartingPositionConfigurationAttributes]

func (InputsAttributes) StreamNames

type InputsKinesisFirehose

type InputsKinesisFirehose struct {
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type InputsKinesisFirehoseAttributes

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

func (InputsKinesisFirehoseAttributes) InternalRef

func (InputsKinesisFirehoseAttributes) InternalTokens

func (kf InputsKinesisFirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputsKinesisFirehoseAttributes) InternalWithRef

func (InputsKinesisFirehoseAttributes) ResourceArn

func (InputsKinesisFirehoseAttributes) RoleArn

type InputsKinesisFirehoseState

type InputsKinesisFirehoseState struct {
	ResourceArn string `json:"resource_arn"`
	RoleArn     string `json:"role_arn"`
}

type InputsKinesisStream

type InputsKinesisStream struct {
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type InputsKinesisStreamAttributes

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

func (InputsKinesisStreamAttributes) InternalRef

func (ks InputsKinesisStreamAttributes) InternalRef() (terra.Reference, error)

func (InputsKinesisStreamAttributes) InternalTokens

func (ks InputsKinesisStreamAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputsKinesisStreamAttributes) InternalWithRef

func (InputsKinesisStreamAttributes) ResourceArn

func (InputsKinesisStreamAttributes) RoleArn

type InputsKinesisStreamState

type InputsKinesisStreamState struct {
	ResourceArn string `json:"resource_arn"`
	RoleArn     string `json:"role_arn"`
}

type InputsSchema

type InputsSchema struct {
	// RecordEncoding: string, optional
	RecordEncoding terra.StringValue `hcl:"record_encoding,attr"`
	// InputsSchemaRecordColumns: min=1,max=1000
	RecordColumns []InputsSchemaRecordColumns `hcl:"record_columns,block" validate:"min=1,max=1000"`
	// InputsSchemaRecordFormat: required
	RecordFormat *InputsSchemaRecordFormat `hcl:"record_format,block" validate:"required"`
}

type InputsSchemaAttributes

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

func (InputsSchemaAttributes) InternalRef

func (s InputsSchemaAttributes) InternalRef() (terra.Reference, error)

func (InputsSchemaAttributes) InternalTokens

func (s InputsSchemaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputsSchemaAttributes) InternalWithRef

func (InputsSchemaAttributes) RecordColumns

func (InputsSchemaAttributes) RecordEncoding

func (s InputsSchemaAttributes) RecordEncoding() terra.StringValue

func (InputsSchemaAttributes) RecordFormat

type InputsSchemaRecordColumns

type InputsSchemaRecordColumns struct {
	// Mapping: string, optional
	Mapping terra.StringValue `hcl:"mapping,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SqlType: string, required
	SqlType terra.StringValue `hcl:"sql_type,attr" validate:"required"`
}

type InputsSchemaRecordColumnsAttributes

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

func (InputsSchemaRecordColumnsAttributes) InternalRef

func (InputsSchemaRecordColumnsAttributes) InternalTokens

func (InputsSchemaRecordColumnsAttributes) InternalWithRef

func (InputsSchemaRecordColumnsAttributes) Mapping

func (InputsSchemaRecordColumnsAttributes) Name

func (InputsSchemaRecordColumnsAttributes) SqlType

type InputsSchemaRecordColumnsState

type InputsSchemaRecordColumnsState struct {
	Mapping string `json:"mapping"`
	Name    string `json:"name"`
	SqlType string `json:"sql_type"`
}

type InputsSchemaRecordFormat

type InputsSchemaRecordFormat struct {
	// InputsSchemaRecordFormatMappingParameters: optional
	MappingParameters *InputsSchemaRecordFormatMappingParameters `hcl:"mapping_parameters,block"`
}

type InputsSchemaRecordFormatAttributes

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

func (InputsSchemaRecordFormatAttributes) InternalRef

func (InputsSchemaRecordFormatAttributes) InternalTokens

func (InputsSchemaRecordFormatAttributes) InternalWithRef

func (InputsSchemaRecordFormatAttributes) MappingParameters

func (InputsSchemaRecordFormatAttributes) RecordFormatType

type InputsSchemaRecordFormatMappingParameters

type InputsSchemaRecordFormatMappingParameters struct {
	// InputsSchemaRecordFormatMappingParametersCsv: optional
	Csv *InputsSchemaRecordFormatMappingParametersCsv `hcl:"csv,block"`
	// InputsSchemaRecordFormatMappingParametersJson: optional
	Json *InputsSchemaRecordFormatMappingParametersJson `hcl:"json,block"`
}

type InputsSchemaRecordFormatMappingParametersAttributes

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

func (InputsSchemaRecordFormatMappingParametersAttributes) Csv

func (InputsSchemaRecordFormatMappingParametersAttributes) InternalRef

func (InputsSchemaRecordFormatMappingParametersAttributes) InternalTokens

func (InputsSchemaRecordFormatMappingParametersAttributes) InternalWithRef

func (InputsSchemaRecordFormatMappingParametersAttributes) Json

type InputsSchemaRecordFormatMappingParametersCsv

type InputsSchemaRecordFormatMappingParametersCsv struct {
	// RecordColumnDelimiter: string, required
	RecordColumnDelimiter terra.StringValue `hcl:"record_column_delimiter,attr" validate:"required"`
	// RecordRowDelimiter: string, required
	RecordRowDelimiter terra.StringValue `hcl:"record_row_delimiter,attr" validate:"required"`
}

type InputsSchemaRecordFormatMappingParametersCsvAttributes

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

func (InputsSchemaRecordFormatMappingParametersCsvAttributes) InternalRef

func (InputsSchemaRecordFormatMappingParametersCsvAttributes) InternalTokens

func (InputsSchemaRecordFormatMappingParametersCsvAttributes) InternalWithRef

func (InputsSchemaRecordFormatMappingParametersCsvAttributes) RecordColumnDelimiter

func (InputsSchemaRecordFormatMappingParametersCsvAttributes) RecordRowDelimiter

type InputsSchemaRecordFormatMappingParametersCsvState

type InputsSchemaRecordFormatMappingParametersCsvState struct {
	RecordColumnDelimiter string `json:"record_column_delimiter"`
	RecordRowDelimiter    string `json:"record_row_delimiter"`
}

type InputsSchemaRecordFormatMappingParametersJson

type InputsSchemaRecordFormatMappingParametersJson struct {
	// RecordRowPath: string, required
	RecordRowPath terra.StringValue `hcl:"record_row_path,attr" validate:"required"`
}

type InputsSchemaRecordFormatMappingParametersJsonAttributes

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

func (InputsSchemaRecordFormatMappingParametersJsonAttributes) InternalRef

func (InputsSchemaRecordFormatMappingParametersJsonAttributes) InternalTokens

func (InputsSchemaRecordFormatMappingParametersJsonAttributes) InternalWithRef

func (InputsSchemaRecordFormatMappingParametersJsonAttributes) RecordRowPath

type InputsSchemaRecordFormatMappingParametersJsonState

type InputsSchemaRecordFormatMappingParametersJsonState struct {
	RecordRowPath string `json:"record_row_path"`
}

type InputsSchemaRecordFormatMappingParametersState

type InputsSchemaRecordFormatMappingParametersState struct {
	Csv  []InputsSchemaRecordFormatMappingParametersCsvState  `json:"csv"`
	Json []InputsSchemaRecordFormatMappingParametersJsonState `json:"json"`
}

type InputsSchemaRecordFormatState

type InputsSchemaRecordFormatState struct {
	RecordFormatType  string                                           `json:"record_format_type"`
	MappingParameters []InputsSchemaRecordFormatMappingParametersState `json:"mapping_parameters"`
}

type InputsSchemaState

type InputsSchemaState struct {
	RecordEncoding string                           `json:"record_encoding"`
	RecordColumns  []InputsSchemaRecordColumnsState `json:"record_columns"`
	RecordFormat   []InputsSchemaRecordFormatState  `json:"record_format"`
}

type InputsState

type InputsState struct {
	Id                            string                               `json:"id"`
	NamePrefix                    string                               `json:"name_prefix"`
	StreamNames                   []string                             `json:"stream_names"`
	KinesisFirehose               []InputsKinesisFirehoseState         `json:"kinesis_firehose"`
	KinesisStream                 []InputsKinesisStreamState           `json:"kinesis_stream"`
	Parallelism                   []ParallelismState                   `json:"parallelism"`
	ProcessingConfiguration       []ProcessingConfigurationState       `json:"processing_configuration"`
	Schema                        []InputsSchemaState                  `json:"schema"`
	StartingPositionConfiguration []StartingPositionConfigurationState `json:"starting_position_configuration"`
}

type Outputs

type Outputs struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// OutputsKinesisFirehose: optional
	KinesisFirehose *OutputsKinesisFirehose `hcl:"kinesis_firehose,block"`
	// OutputsKinesisStream: optional
	KinesisStream *OutputsKinesisStream `hcl:"kinesis_stream,block"`
	// OutputsLambda: optional
	Lambda *OutputsLambda `hcl:"lambda,block"`
	// OutputsSchema: required
	Schema *OutputsSchema `hcl:"schema,block" validate:"required"`
}

type OutputsAttributes

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

func (OutputsAttributes) Id

func (OutputsAttributes) InternalRef

func (o OutputsAttributes) InternalRef() (terra.Reference, error)

func (OutputsAttributes) InternalTokens

func (o OutputsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputsAttributes) InternalWithRef

func (o OutputsAttributes) InternalWithRef(ref terra.Reference) OutputsAttributes

func (OutputsAttributes) KinesisFirehose

func (OutputsAttributes) KinesisStream

func (OutputsAttributes) Lambda

func (OutputsAttributes) Name

func (OutputsAttributes) Schema

type OutputsKinesisFirehose

type OutputsKinesisFirehose struct {
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type OutputsKinesisFirehoseAttributes

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

func (OutputsKinesisFirehoseAttributes) InternalRef

func (OutputsKinesisFirehoseAttributes) InternalTokens

func (kf OutputsKinesisFirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputsKinesisFirehoseAttributes) InternalWithRef

func (OutputsKinesisFirehoseAttributes) ResourceArn

func (OutputsKinesisFirehoseAttributes) RoleArn

type OutputsKinesisFirehoseState

type OutputsKinesisFirehoseState struct {
	ResourceArn string `json:"resource_arn"`
	RoleArn     string `json:"role_arn"`
}

type OutputsKinesisStream

type OutputsKinesisStream struct {
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type OutputsKinesisStreamAttributes

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

func (OutputsKinesisStreamAttributes) InternalRef

func (OutputsKinesisStreamAttributes) InternalTokens

func (ks OutputsKinesisStreamAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputsKinesisStreamAttributes) InternalWithRef

func (OutputsKinesisStreamAttributes) ResourceArn

func (OutputsKinesisStreamAttributes) RoleArn

type OutputsKinesisStreamState

type OutputsKinesisStreamState struct {
	ResourceArn string `json:"resource_arn"`
	RoleArn     string `json:"role_arn"`
}

type OutputsLambda

type OutputsLambda struct {
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type OutputsLambdaAttributes

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

func (OutputsLambdaAttributes) InternalRef

func (l OutputsLambdaAttributes) InternalRef() (terra.Reference, error)

func (OutputsLambdaAttributes) InternalTokens

func (l OutputsLambdaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputsLambdaAttributes) InternalWithRef

func (OutputsLambdaAttributes) ResourceArn

func (l OutputsLambdaAttributes) ResourceArn() terra.StringValue

func (OutputsLambdaAttributes) RoleArn

type OutputsLambdaState

type OutputsLambdaState struct {
	ResourceArn string `json:"resource_arn"`
	RoleArn     string `json:"role_arn"`
}

type OutputsSchema

type OutputsSchema struct {
	// RecordFormatType: string, required
	RecordFormatType terra.StringValue `hcl:"record_format_type,attr" validate:"required"`
}

type OutputsSchemaAttributes

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

func (OutputsSchemaAttributes) InternalRef

func (s OutputsSchemaAttributes) InternalRef() (terra.Reference, error)

func (OutputsSchemaAttributes) InternalTokens

func (s OutputsSchemaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputsSchemaAttributes) InternalWithRef

func (OutputsSchemaAttributes) RecordFormatType

func (s OutputsSchemaAttributes) RecordFormatType() terra.StringValue

type OutputsSchemaState

type OutputsSchemaState struct {
	RecordFormatType string `json:"record_format_type"`
}

type OutputsState

type OutputsState struct {
	Id              string                        `json:"id"`
	Name            string                        `json:"name"`
	KinesisFirehose []OutputsKinesisFirehoseState `json:"kinesis_firehose"`
	KinesisStream   []OutputsKinesisStreamState   `json:"kinesis_stream"`
	Lambda          []OutputsLambdaState          `json:"lambda"`
	Schema          []OutputsSchemaState          `json:"schema"`
}

type Parallelism

type Parallelism struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
}

type ParallelismAttributes

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

func (ParallelismAttributes) Count

func (ParallelismAttributes) InternalRef

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

func (ParallelismAttributes) InternalTokens

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

func (ParallelismAttributes) InternalWithRef

type ParallelismState

type ParallelismState struct {
	Count float64 `json:"count"`
}

type ProcessingConfiguration

type ProcessingConfiguration struct {
	// ProcessingConfigurationLambda: required
	Lambda *ProcessingConfigurationLambda `hcl:"lambda,block" validate:"required"`
}

type ProcessingConfigurationAttributes

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

func (ProcessingConfigurationAttributes) InternalRef

func (ProcessingConfigurationAttributes) InternalTokens

func (pc ProcessingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProcessingConfigurationAttributes) InternalWithRef

func (ProcessingConfigurationAttributes) Lambda

type ProcessingConfigurationLambda

type ProcessingConfigurationLambda struct {
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ProcessingConfigurationLambdaAttributes

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

func (ProcessingConfigurationLambdaAttributes) InternalRef

func (ProcessingConfigurationLambdaAttributes) InternalTokens

func (ProcessingConfigurationLambdaAttributes) InternalWithRef

func (ProcessingConfigurationLambdaAttributes) ResourceArn

func (ProcessingConfigurationLambdaAttributes) RoleArn

type ProcessingConfigurationLambdaState

type ProcessingConfigurationLambdaState struct {
	ResourceArn string `json:"resource_arn"`
	RoleArn     string `json:"role_arn"`
}

type ProcessingConfigurationState

type ProcessingConfigurationState struct {
	Lambda []ProcessingConfigurationLambdaState `json:"lambda"`
}

type ReferenceDataSources

type ReferenceDataSources struct {
	// TableName: string, required
	TableName terra.StringValue `hcl:"table_name,attr" validate:"required"`
	// S3: required
	S3 *S3 `hcl:"s3,block" validate:"required"`
	// ReferenceDataSourcesSchema: required
	Schema *ReferenceDataSourcesSchema `hcl:"schema,block" validate:"required"`
}

type ReferenceDataSourcesAttributes

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

func (ReferenceDataSourcesAttributes) Id

func (ReferenceDataSourcesAttributes) InternalRef

func (rds ReferenceDataSourcesAttributes) InternalRef() (terra.Reference, error)

func (ReferenceDataSourcesAttributes) InternalTokens

func (rds ReferenceDataSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReferenceDataSourcesAttributes) InternalWithRef

func (ReferenceDataSourcesAttributes) S3

func (ReferenceDataSourcesAttributes) Schema

func (ReferenceDataSourcesAttributes) TableName

type ReferenceDataSourcesSchema

type ReferenceDataSourcesSchema struct {
	// RecordEncoding: string, optional
	RecordEncoding terra.StringValue `hcl:"record_encoding,attr"`
	// ReferenceDataSourcesSchemaRecordColumns: min=1,max=1000
	RecordColumns []ReferenceDataSourcesSchemaRecordColumns `hcl:"record_columns,block" validate:"min=1,max=1000"`
	// ReferenceDataSourcesSchemaRecordFormat: required
	RecordFormat *ReferenceDataSourcesSchemaRecordFormat `hcl:"record_format,block" validate:"required"`
}

type ReferenceDataSourcesSchemaAttributes

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

func (ReferenceDataSourcesSchemaAttributes) InternalRef

func (ReferenceDataSourcesSchemaAttributes) InternalTokens

func (ReferenceDataSourcesSchemaAttributes) InternalWithRef

func (ReferenceDataSourcesSchemaAttributes) RecordColumns

func (ReferenceDataSourcesSchemaAttributes) RecordEncoding

func (ReferenceDataSourcesSchemaAttributes) RecordFormat

type ReferenceDataSourcesSchemaRecordColumns

type ReferenceDataSourcesSchemaRecordColumns struct {
	// Mapping: string, optional
	Mapping terra.StringValue `hcl:"mapping,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SqlType: string, required
	SqlType terra.StringValue `hcl:"sql_type,attr" validate:"required"`
}

type ReferenceDataSourcesSchemaRecordColumnsAttributes

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

func (ReferenceDataSourcesSchemaRecordColumnsAttributes) InternalRef

func (ReferenceDataSourcesSchemaRecordColumnsAttributes) InternalTokens

func (ReferenceDataSourcesSchemaRecordColumnsAttributes) InternalWithRef

func (ReferenceDataSourcesSchemaRecordColumnsAttributes) Mapping

func (ReferenceDataSourcesSchemaRecordColumnsAttributes) Name

func (ReferenceDataSourcesSchemaRecordColumnsAttributes) SqlType

type ReferenceDataSourcesSchemaRecordColumnsState

type ReferenceDataSourcesSchemaRecordColumnsState struct {
	Mapping string `json:"mapping"`
	Name    string `json:"name"`
	SqlType string `json:"sql_type"`
}

type ReferenceDataSourcesSchemaRecordFormat

type ReferenceDataSourcesSchemaRecordFormat struct {
	// ReferenceDataSourcesSchemaRecordFormatMappingParameters: optional
	MappingParameters *ReferenceDataSourcesSchemaRecordFormatMappingParameters `hcl:"mapping_parameters,block"`
}

type ReferenceDataSourcesSchemaRecordFormatAttributes

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

func (ReferenceDataSourcesSchemaRecordFormatAttributes) InternalRef

func (ReferenceDataSourcesSchemaRecordFormatAttributes) InternalTokens

func (ReferenceDataSourcesSchemaRecordFormatAttributes) InternalWithRef

func (ReferenceDataSourcesSchemaRecordFormatAttributes) RecordFormatType

type ReferenceDataSourcesSchemaRecordFormatMappingParameters

type ReferenceDataSourcesSchemaRecordFormatMappingParameters struct {
	// ReferenceDataSourcesSchemaRecordFormatMappingParametersCsv: optional
	Csv *ReferenceDataSourcesSchemaRecordFormatMappingParametersCsv `hcl:"csv,block"`
	// ReferenceDataSourcesSchemaRecordFormatMappingParametersJson: optional
	Json *ReferenceDataSourcesSchemaRecordFormatMappingParametersJson `hcl:"json,block"`
}

type ReferenceDataSourcesSchemaRecordFormatMappingParametersAttributes

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

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersAttributes) InternalRef

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersAttributes) InternalTokens

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersAttributes) InternalWithRef

type ReferenceDataSourcesSchemaRecordFormatMappingParametersCsv

type ReferenceDataSourcesSchemaRecordFormatMappingParametersCsv struct {
	// RecordColumnDelimiter: string, required
	RecordColumnDelimiter terra.StringValue `hcl:"record_column_delimiter,attr" validate:"required"`
	// RecordRowDelimiter: string, required
	RecordRowDelimiter terra.StringValue `hcl:"record_row_delimiter,attr" validate:"required"`
}

type ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvAttributes

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

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvAttributes) InternalRef

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvAttributes) InternalTokens

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvAttributes) InternalWithRef

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvAttributes) RecordColumnDelimiter

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvAttributes) RecordRowDelimiter

type ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvState

type ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvState struct {
	RecordColumnDelimiter string `json:"record_column_delimiter"`
	RecordRowDelimiter    string `json:"record_row_delimiter"`
}

type ReferenceDataSourcesSchemaRecordFormatMappingParametersJson

type ReferenceDataSourcesSchemaRecordFormatMappingParametersJson struct {
	// RecordRowPath: string, required
	RecordRowPath terra.StringValue `hcl:"record_row_path,attr" validate:"required"`
}

type ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonAttributes

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

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonAttributes) InternalRef

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonAttributes) InternalTokens

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonAttributes) InternalWithRef

func (ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonAttributes) RecordRowPath

type ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonState

type ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonState struct {
	RecordRowPath string `json:"record_row_path"`
}

type ReferenceDataSourcesSchemaRecordFormatMappingParametersState

type ReferenceDataSourcesSchemaRecordFormatMappingParametersState struct {
	Csv  []ReferenceDataSourcesSchemaRecordFormatMappingParametersCsvState  `json:"csv"`
	Json []ReferenceDataSourcesSchemaRecordFormatMappingParametersJsonState `json:"json"`
}

type ReferenceDataSourcesSchemaRecordFormatState

type ReferenceDataSourcesSchemaRecordFormatState struct {
	RecordFormatType  string                                                         `json:"record_format_type"`
	MappingParameters []ReferenceDataSourcesSchemaRecordFormatMappingParametersState `json:"mapping_parameters"`
}

type ReferenceDataSourcesSchemaState

type ReferenceDataSourcesSchemaState struct {
	RecordEncoding string                                         `json:"record_encoding"`
	RecordColumns  []ReferenceDataSourcesSchemaRecordColumnsState `json:"record_columns"`
	RecordFormat   []ReferenceDataSourcesSchemaRecordFormatState  `json:"record_format"`
}

type ReferenceDataSourcesState

type ReferenceDataSourcesState struct {
	Id        string                            `json:"id"`
	TableName string                            `json:"table_name"`
	S3        []S3State                         `json:"s3"`
	Schema    []ReferenceDataSourcesSchemaState `json:"schema"`
}

type S3

type S3 struct {
	// BucketArn: string, required
	BucketArn terra.StringValue `hcl:"bucket_arn,attr" validate:"required"`
	// FileKey: string, required
	FileKey terra.StringValue `hcl:"file_key,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type S3Attributes

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

func (S3Attributes) BucketArn

func (s S3Attributes) BucketArn() terra.StringValue

func (S3Attributes) FileKey

func (s S3Attributes) FileKey() terra.StringValue

func (S3Attributes) InternalRef

func (s S3Attributes) InternalRef() (terra.Reference, error)

func (S3Attributes) InternalTokens

func (s S3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (S3Attributes) InternalWithRef

func (s S3Attributes) InternalWithRef(ref terra.Reference) S3Attributes

func (S3Attributes) RoleArn

func (s S3Attributes) RoleArn() terra.StringValue

type S3State

type S3State struct {
	BucketArn string `json:"bucket_arn"`
	FileKey   string `json:"file_key"`
	RoleArn   string `json:"role_arn"`
}

type StartingPositionConfiguration

type StartingPositionConfiguration struct {
	// StartingPosition: string, optional
	StartingPosition terra.StringValue `hcl:"starting_position,attr"`
}

type StartingPositionConfigurationAttributes

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

func (StartingPositionConfigurationAttributes) InternalRef

func (StartingPositionConfigurationAttributes) InternalTokens

func (StartingPositionConfigurationAttributes) InternalWithRef

func (StartingPositionConfigurationAttributes) StartingPosition

type StartingPositionConfigurationState

type StartingPositionConfigurationState struct {
	StartingPosition string `json:"starting_position"`
}

Jump to

Keyboard shortcuts

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