appsyncresolver

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 CachingConfig

type CachingConfig struct {
	// CachingKeys: set of string, optional
	CachingKeys terra.SetValue[terra.StringValue] `hcl:"caching_keys,attr"`
	// Ttl: number, optional
	Ttl terra.NumberValue `hcl:"ttl,attr"`
}

type CachingConfigAttributes

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

func (CachingConfigAttributes) CachingKeys

func (CachingConfigAttributes) InternalRef

func (cc CachingConfigAttributes) InternalRef() (terra.Reference, error)

func (CachingConfigAttributes) InternalTokens

func (cc CachingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CachingConfigAttributes) InternalWithRef

func (CachingConfigAttributes) Ttl

type CachingConfigState

type CachingConfigState struct {
	CachingKeys []string `json:"caching_keys"`
	Ttl         float64  `json:"ttl"`
}

type LambdaConflictHandlerConfig

type LambdaConflictHandlerConfig struct {
	// LambdaConflictHandlerArn: string, optional
	LambdaConflictHandlerArn terra.StringValue `hcl:"lambda_conflict_handler_arn,attr"`
}

type LambdaConflictHandlerConfigAttributes

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

func (LambdaConflictHandlerConfigAttributes) InternalRef

func (LambdaConflictHandlerConfigAttributes) InternalTokens

func (LambdaConflictHandlerConfigAttributes) InternalWithRef

func (LambdaConflictHandlerConfigAttributes) LambdaConflictHandlerArn

func (lchc LambdaConflictHandlerConfigAttributes) LambdaConflictHandlerArn() terra.StringValue

type LambdaConflictHandlerConfigState

type LambdaConflictHandlerConfigState struct {
	LambdaConflictHandlerArn string `json:"lambda_conflict_handler_arn"`
}

type PipelineConfig

type PipelineConfig struct {
	// Functions: list of string, optional
	Functions terra.ListValue[terra.StringValue] `hcl:"functions,attr"`
}

type PipelineConfigAttributes

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

func (PipelineConfigAttributes) Functions

func (PipelineConfigAttributes) InternalRef

func (pc PipelineConfigAttributes) InternalRef() (terra.Reference, error)

func (PipelineConfigAttributes) InternalTokens

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

func (PipelineConfigAttributes) InternalWithRef

type PipelineConfigState

type PipelineConfigState struct {
	Functions []string `json:"functions"`
}

type Runtime

type Runtime struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RuntimeVersion: string, required
	RuntimeVersion terra.StringValue `hcl:"runtime_version,attr" validate:"required"`
}

type RuntimeAttributes

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

func (RuntimeAttributes) InternalRef

func (r RuntimeAttributes) InternalRef() (terra.Reference, error)

func (RuntimeAttributes) InternalTokens

func (r RuntimeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuntimeAttributes) InternalWithRef

func (r RuntimeAttributes) InternalWithRef(ref terra.Reference) RuntimeAttributes

func (RuntimeAttributes) Name

func (RuntimeAttributes) RuntimeVersion

func (r RuntimeAttributes) RuntimeVersion() terra.StringValue

type RuntimeState

type RuntimeState struct {
	Name           string `json:"name"`
	RuntimeVersion string `json:"runtime_version"`
}

type SyncConfig

type SyncConfig struct {
	// ConflictDetection: string, optional
	ConflictDetection terra.StringValue `hcl:"conflict_detection,attr"`
	// ConflictHandler: string, optional
	ConflictHandler terra.StringValue `hcl:"conflict_handler,attr"`
	// LambdaConflictHandlerConfig: optional
	LambdaConflictHandlerConfig *LambdaConflictHandlerConfig `hcl:"lambda_conflict_handler_config,block"`
}

type SyncConfigAttributes

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

func (SyncConfigAttributes) ConflictDetection

func (sc SyncConfigAttributes) ConflictDetection() terra.StringValue

func (SyncConfigAttributes) ConflictHandler

func (sc SyncConfigAttributes) ConflictHandler() terra.StringValue

func (SyncConfigAttributes) InternalRef

func (sc SyncConfigAttributes) InternalRef() (terra.Reference, error)

func (SyncConfigAttributes) InternalTokens

func (sc SyncConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SyncConfigAttributes) InternalWithRef

func (sc SyncConfigAttributes) InternalWithRef(ref terra.Reference) SyncConfigAttributes

func (SyncConfigAttributes) LambdaConflictHandlerConfig

type SyncConfigState

type SyncConfigState struct {
	ConflictDetection           string                             `json:"conflict_detection"`
	ConflictHandler             string                             `json:"conflict_handler"`
	LambdaConflictHandlerConfig []LambdaConflictHandlerConfigState `json:"lambda_conflict_handler_config"`
}

Jump to

Keyboard shortcuts

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