Documentation ¶
Index ¶
- type Args
- type Resource
- func (aaf *Resource) Attributes() awsAppsyncFunctionAttributes
- func (aaf *Resource) Configuration() interface{}
- func (aaf *Resource) DependOn() terra.Reference
- func (aaf *Resource) Dependencies() terra.Dependencies
- func (aaf *Resource) ImportState(state io.Reader) error
- func (aaf *Resource) LifecycleManagement() *terra.Lifecycle
- func (aaf *Resource) LocalName() string
- func (aaf *Resource) State() (*awsAppsyncFunctionState, bool)
- func (aaf *Resource) StateMust() *awsAppsyncFunctionState
- func (aaf *Resource) Type() string
- 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"` // DataSource: string, required DataSource terra.StringValue `hcl:"data_source,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // FunctionVersion: string, optional FunctionVersion terra.StringValue `hcl:"function_version,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaxBatchSize: number, optional MaxBatchSize terra.NumberValue `hcl:"max_batch_size,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RequestMappingTemplate: string, required RequestMappingTemplate terra.StringValue `hcl:"request_mapping_template,attr" validate:"required"` // ResponseMappingTemplate: string, required ResponseMappingTemplate terra.StringValue `hcl:"response_mapping_template,attr" validate:"required"` // SyncConfig: optional SyncConfig *SyncConfig `hcl:"sync_config,block"` }
Args contains the configurations for aws_appsync_function.
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_function.
func (*Resource) Attributes ¶
func (aaf *Resource) Attributes() awsAppsyncFunctionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aaf *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aaf *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 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.