Documentation ¶
Index ¶
- type Args
- type CachingConfig
- type CachingConfigAttributes
- func (cc CachingConfigAttributes) CachingKeys() terra.SetValue[terra.StringValue]
- func (cc CachingConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc CachingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CachingConfigAttributes) InternalWithRef(ref terra.Reference) CachingConfigAttributes
- func (cc CachingConfigAttributes) Ttl() terra.NumberValue
- type CachingConfigState
- type PipelineConfig
- type PipelineConfigAttributes
- func (pc PipelineConfigAttributes) Functions() terra.ListValue[terra.StringValue]
- func (pc PipelineConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc PipelineConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PipelineConfigAttributes) InternalWithRef(ref terra.Reference) PipelineConfigAttributes
- type PipelineConfigState
- type Resource
- func (aar *Resource) Attributes() awsAppsyncResolverAttributes
- func (aar *Resource) Configuration() interface{}
- func (aar *Resource) DependOn() terra.Reference
- func (aar *Resource) Dependencies() terra.Dependencies
- func (aar *Resource) ImportState(state io.Reader) error
- func (aar *Resource) LifecycleManagement() *terra.Lifecycle
- func (aar *Resource) LocalName() string
- func (aar *Resource) State() (*awsAppsyncResolverState, bool)
- func (aar *Resource) StateMust() *awsAppsyncResolverState
- func (aar *Resource) Type() string
- type Runtime
- type RuntimeAttributes
- func (r RuntimeAttributes) InternalRef() (terra.Reference, error)
- func (r RuntimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuntimeAttributes) InternalWithRef(ref terra.Reference) RuntimeAttributes
- func (r RuntimeAttributes) Name() terra.StringValue
- func (r RuntimeAttributes) RuntimeVersion() terra.StringValue
- type RuntimeState
- type SyncConfig
- type SyncConfigAttributes
- func (sc SyncConfigAttributes) ConflictDetection() terra.StringValue
- func (sc SyncConfigAttributes) ConflictHandler() terra.StringValue
- func (sc SyncConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc SyncConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SyncConfigAttributes) InternalWithRef(ref terra.Reference) SyncConfigAttributes
- func (sc SyncConfigAttributes) LambdaConflictHandlerConfig() terra.ListValue[SyncConfigLambdaConflictHandlerConfigAttributes]
- type SyncConfigLambdaConflictHandlerConfig
- type SyncConfigLambdaConflictHandlerConfigAttributes
- func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) InternalRef() (terra.Reference, error)
- func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) InternalWithRef(ref terra.Reference) SyncConfigLambdaConflictHandlerConfigAttributes
- func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) LambdaConflictHandlerArn() terra.StringValue
- type SyncConfigLambdaConflictHandlerConfigState
- type SyncConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApiId: string, required ApiId terra.StringValue `hcl:"api_id,attr" validate:"required"` // Code: string, optional Code terra.StringValue `hcl:"code,attr"` // DataSource: string, optional DataSource terra.StringValue `hcl:"data_source,attr"` // Field: string, required Field terra.StringValue `hcl:"field,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Kind: string, optional Kind terra.StringValue `hcl:"kind,attr"` // MaxBatchSize: number, optional MaxBatchSize terra.NumberValue `hcl:"max_batch_size,attr"` // RequestTemplate: string, optional RequestTemplate terra.StringValue `hcl:"request_template,attr"` // ResponseTemplate: string, optional ResponseTemplate terra.StringValue `hcl:"response_template,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // CachingConfig: optional CachingConfig *CachingConfig `hcl:"caching_config,block"` // PipelineConfig: optional PipelineConfig *PipelineConfig `hcl:"pipeline_config,block"` // Runtime: optional Runtime *Runtime `hcl:"runtime,block"` // SyncConfig: optional SyncConfig *SyncConfig `hcl:"sync_config,block"` }
Args contains the configurations for aws_appsync_resolver.
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 (cc CachingConfigAttributes) CachingKeys() terra.SetValue[terra.StringValue]
func (CachingConfigAttributes) InternalRef ¶
func (cc CachingConfigAttributes) InternalRef() (terra.Reference, error)
func (CachingConfigAttributes) InternalTokens ¶
func (cc CachingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CachingConfigAttributes) InternalWithRef ¶
func (cc CachingConfigAttributes) InternalWithRef(ref terra.Reference) CachingConfigAttributes
func (CachingConfigAttributes) Ttl ¶
func (cc CachingConfigAttributes) Ttl() terra.NumberValue
type CachingConfigState ¶
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 (pc PipelineConfigAttributes) Functions() terra.ListValue[terra.StringValue]
func (PipelineConfigAttributes) InternalRef ¶
func (pc PipelineConfigAttributes) InternalRef() (terra.Reference, error)
func (PipelineConfigAttributes) InternalTokens ¶
func (pc PipelineConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PipelineConfigAttributes) InternalWithRef ¶
func (pc PipelineConfigAttributes) InternalWithRef(ref terra.Reference) PipelineConfigAttributes
type PipelineConfigState ¶
type PipelineConfigState struct {
Functions []string `json:"functions"`
}
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_appsync_resolver.
func (*Resource) Attributes ¶
func (aar *Resource) Attributes() awsAppsyncResolverAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aar *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aar *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 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 (r RuntimeAttributes) Name() terra.StringValue
func (RuntimeAttributes) RuntimeVersion ¶
func (r RuntimeAttributes) RuntimeVersion() terra.StringValue
type RuntimeState ¶
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"` // SyncConfigLambdaConflictHandlerConfig: optional LambdaConflictHandlerConfig *SyncConfigLambdaConflictHandlerConfig `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 ¶
func (sc SyncConfigAttributes) LambdaConflictHandlerConfig() terra.ListValue[SyncConfigLambdaConflictHandlerConfigAttributes]
type SyncConfigLambdaConflictHandlerConfig ¶
type SyncConfigLambdaConflictHandlerConfig struct { // LambdaConflictHandlerArn: string, optional LambdaConflictHandlerArn terra.StringValue `hcl:"lambda_conflict_handler_arn,attr"` }
type SyncConfigLambdaConflictHandlerConfigAttributes ¶
type SyncConfigLambdaConflictHandlerConfigAttributes struct {
// contains filtered or unexported fields
}
func (SyncConfigLambdaConflictHandlerConfigAttributes) InternalRef ¶
func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) InternalRef() (terra.Reference, error)
func (SyncConfigLambdaConflictHandlerConfigAttributes) InternalTokens ¶
func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SyncConfigLambdaConflictHandlerConfigAttributes) InternalWithRef ¶
func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) InternalWithRef(ref terra.Reference) SyncConfigLambdaConflictHandlerConfigAttributes
func (SyncConfigLambdaConflictHandlerConfigAttributes) LambdaConflictHandlerArn ¶
func (lchc SyncConfigLambdaConflictHandlerConfigAttributes) LambdaConflictHandlerArn() terra.StringValue
type SyncConfigLambdaConflictHandlerConfigState ¶
type SyncConfigLambdaConflictHandlerConfigState struct {
LambdaConflictHandlerArn string `json:"lambda_conflict_handler_arn"`
}
type SyncConfigState ¶
type SyncConfigState struct { ConflictDetection string `json:"conflict_detection"` ConflictHandler string `json:"conflict_handler"` LambdaConflictHandlerConfig []SyncConfigLambdaConflictHandlerConfigState `json:"lambda_conflict_handler_config"` }
Click to show internal directories.
Click to hide internal directories.