Documentation
¶
Index ¶
- func AppsyncFunction_IsConstruct(x interface{}) *bool
- func AppsyncFunction_IsTerraformElement(x interface{}) *bool
- func AppsyncFunction_IsTerraformResource(x interface{}) *bool
- func AppsyncFunction_TfResourceType() *string
- func NewAppsyncFunctionRuntimeOutputReference_Override(a AppsyncFunctionRuntimeOutputReference, ...)
- func NewAppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference_Override(a AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference, ...)
- func NewAppsyncFunctionSyncConfigOutputReference_Override(a AppsyncFunctionSyncConfigOutputReference, ...)
- func NewAppsyncFunction_Override(a AppsyncFunction, scope constructs.Construct, id *string, ...)
- type AppsyncFunction
- type AppsyncFunctionConfig
- type AppsyncFunctionRuntime
- type AppsyncFunctionRuntimeOutputReference
- type AppsyncFunctionSyncConfig
- type AppsyncFunctionSyncConfigLambdaConflictHandlerConfig
- type AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference
- type AppsyncFunctionSyncConfigOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppsyncFunction_IsConstruct ¶
func AppsyncFunction_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func AppsyncFunction_IsTerraformElement ¶
func AppsyncFunction_IsTerraformElement(x interface{}) *bool
Experimental.
func AppsyncFunction_IsTerraformResource ¶
func AppsyncFunction_IsTerraformResource(x interface{}) *bool
Experimental.
func AppsyncFunction_TfResourceType ¶
func AppsyncFunction_TfResourceType() *string
func NewAppsyncFunctionRuntimeOutputReference_Override ¶
func NewAppsyncFunctionRuntimeOutputReference_Override(a AppsyncFunctionRuntimeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewAppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference_Override ¶
func NewAppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference_Override(a AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewAppsyncFunctionSyncConfigOutputReference_Override ¶
func NewAppsyncFunctionSyncConfigOutputReference_Override(a AppsyncFunctionSyncConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewAppsyncFunction_Override ¶
func NewAppsyncFunction_Override(a AppsyncFunction, scope constructs.Construct, id *string, config *AppsyncFunctionConfig)
Create a new {@link https://www.terraform.io/docs/providers/aws/r/appsync_function aws_appsync_function} Resource.
Types ¶
type AppsyncFunction ¶
type AppsyncFunction interface {
cdktf.TerraformResource
ApiId() *string
SetApiId(val *string)
ApiIdInput() *string
Arn() *string
// Experimental.
CdktfStack() cdktf.TerraformStack
Code() *string
SetCode(val *string)
CodeInput() *string
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() *float64
// Experimental.
SetCount(val *float64)
DataSource() *string
SetDataSource(val *string)
DataSourceInput() *string
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
Description() *string
SetDescription(val *string)
DescriptionInput() *string
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
FunctionId() *string
FunctionVersion() *string
SetFunctionVersion(val *string)
FunctionVersionInput() *string
Id() *string
SetId(val *string)
IdInput() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
MaxBatchSize() *float64
SetMaxBatchSize(val *float64)
MaxBatchSizeInput() *float64
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
// Experimental.
RawOverrides() interface{}
RequestMappingTemplate() *string
SetRequestMappingTemplate(val *string)
RequestMappingTemplateInput() *string
ResponseMappingTemplate() *string
SetResponseMappingTemplate(val *string)
ResponseMappingTemplateInput() *string
Runtime() AppsyncFunctionRuntimeOutputReference
RuntimeInput() *AppsyncFunctionRuntime
SyncConfig() AppsyncFunctionSyncConfigOutputReference
SyncConfigInput() *AppsyncFunctionSyncConfig
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
// Experimental.
AddOverride(path *string, value interface{})
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutRuntime(value *AppsyncFunctionRuntime)
PutSyncConfig(value *AppsyncFunctionSyncConfig)
ResetCode()
ResetDescription()
ResetFunctionVersion()
ResetId()
ResetMaxBatchSize()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetRequestMappingTemplate()
ResetResponseMappingTemplate()
ResetRuntime()
ResetSyncConfig()
SynthesizeAttributes() *map[string]interface{}
// Experimental.
ToMetadata() interface{}
// Returns a string representation of this construct.
ToString() *string
// Adds this resource to the terraform JSON output.
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://www.terraform.io/docs/providers/aws/r/appsync_function aws_appsync_function}.
func NewAppsyncFunction ¶
func NewAppsyncFunction(scope constructs.Construct, id *string, config *AppsyncFunctionConfig) AppsyncFunction
Create a new {@link https://www.terraform.io/docs/providers/aws/r/appsync_function aws_appsync_function} Resource.
type AppsyncFunctionConfig ¶
type AppsyncFunctionConfig struct {
// Experimental.
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
// Experimental.
Count *float64 `field:"optional" json:"count" yaml:"count"`
// Experimental.
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
// Experimental.
ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
// Experimental.
Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
// Experimental.
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
// Experimental.
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#api_id AppsyncFunction#api_id}.
ApiId *string `field:"required" json:"apiId" yaml:"apiId"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#data_source AppsyncFunction#data_source}.
DataSource *string `field:"required" json:"dataSource" yaml:"dataSource"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#name AppsyncFunction#name}.
Name *string `field:"required" json:"name" yaml:"name"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#code AppsyncFunction#code}.
Code *string `field:"optional" json:"code" yaml:"code"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#description AppsyncFunction#description}.
Description *string `field:"optional" json:"description" yaml:"description"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#function_version AppsyncFunction#function_version}.
FunctionVersion *string `field:"optional" json:"functionVersion" yaml:"functionVersion"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#id AppsyncFunction#id}.
//
// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
Id *string `field:"optional" json:"id" yaml:"id"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#max_batch_size AppsyncFunction#max_batch_size}.
MaxBatchSize *float64 `field:"optional" json:"maxBatchSize" yaml:"maxBatchSize"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#request_mapping_template AppsyncFunction#request_mapping_template}.
RequestMappingTemplate *string `field:"optional" json:"requestMappingTemplate" yaml:"requestMappingTemplate"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#response_mapping_template AppsyncFunction#response_mapping_template}.
ResponseMappingTemplate *string `field:"optional" json:"responseMappingTemplate" yaml:"responseMappingTemplate"`
// runtime block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#runtime AppsyncFunction#runtime}
Runtime *AppsyncFunctionRuntime `field:"optional" json:"runtime" yaml:"runtime"`
// sync_config block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#sync_config AppsyncFunction#sync_config}
SyncConfig *AppsyncFunctionSyncConfig `field:"optional" json:"syncConfig" yaml:"syncConfig"`
}
type AppsyncFunctionRuntime ¶
type AppsyncFunctionRuntime struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#name AppsyncFunction#name}.
Name *string `field:"required" json:"name" yaml:"name"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#runtime_version AppsyncFunction#runtime_version}.
RuntimeVersion *string `field:"required" json:"runtimeVersion" yaml:"runtimeVersion"`
}
type AppsyncFunctionRuntimeOutputReference ¶
type AppsyncFunctionRuntimeOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *AppsyncFunctionRuntime
SetInternalValue(val *AppsyncFunctionRuntime)
Name() *string
SetName(val *string)
NameInput() *string
RuntimeVersion() *string
SetRuntimeVersion(val *string)
RuntimeVersionInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewAppsyncFunctionRuntimeOutputReference ¶
func NewAppsyncFunctionRuntimeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) AppsyncFunctionRuntimeOutputReference
type AppsyncFunctionSyncConfig ¶
type AppsyncFunctionSyncConfig struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#conflict_detection AppsyncFunction#conflict_detection}.
ConflictDetection *string `field:"optional" json:"conflictDetection" yaml:"conflictDetection"`
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#conflict_handler AppsyncFunction#conflict_handler}.
ConflictHandler *string `field:"optional" json:"conflictHandler" yaml:"conflictHandler"`
// lambda_conflict_handler_config block.
//
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#lambda_conflict_handler_config AppsyncFunction#lambda_conflict_handler_config}
LambdaConflictHandlerConfig *AppsyncFunctionSyncConfigLambdaConflictHandlerConfig `field:"optional" json:"lambdaConflictHandlerConfig" yaml:"lambdaConflictHandlerConfig"`
}
type AppsyncFunctionSyncConfigLambdaConflictHandlerConfig ¶
type AppsyncFunctionSyncConfigLambdaConflictHandlerConfig struct {
// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/appsync_function#lambda_conflict_handler_arn AppsyncFunction#lambda_conflict_handler_arn}.
LambdaConflictHandlerArn *string `field:"optional" json:"lambdaConflictHandlerArn" yaml:"lambdaConflictHandlerArn"`
}
type AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference ¶
type AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *AppsyncFunctionSyncConfigLambdaConflictHandlerConfig
SetInternalValue(val *AppsyncFunctionSyncConfigLambdaConflictHandlerConfig)
LambdaConflictHandlerArn() *string
SetLambdaConflictHandlerArn(val *string)
LambdaConflictHandlerArnInput() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetLambdaConflictHandlerArn()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewAppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference ¶
func NewAppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference
type AppsyncFunctionSyncConfigOutputReference ¶
type AppsyncFunctionSyncConfigOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
ConflictDetection() *string
SetConflictDetection(val *string)
ConflictDetectionInput() *string
ConflictHandler() *string
SetConflictHandler(val *string)
ConflictHandlerInput() *string
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
InternalValue() *AppsyncFunctionSyncConfig
SetInternalValue(val *AppsyncFunctionSyncConfig)
LambdaConflictHandlerConfig() AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference
LambdaConflictHandlerConfigInput() *AppsyncFunctionSyncConfigLambdaConflictHandlerConfig
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
PutLambdaConflictHandlerConfig(value *AppsyncFunctionSyncConfigLambdaConflictHandlerConfig)
ResetConflictDetection()
ResetConflictHandler()
ResetLambdaConflictHandlerConfig()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewAppsyncFunctionSyncConfigOutputReference ¶
func NewAppsyncFunctionSyncConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) AppsyncFunctionSyncConfigOutputReference
Source Files
¶
- AppsyncFunction.go
- AppsyncFunctionConfig.go
- AppsyncFunctionRuntime.go
- AppsyncFunctionRuntimeOutputReference.go
- AppsyncFunctionRuntimeOutputReference__checks.go
- AppsyncFunctionSyncConfig.go
- AppsyncFunctionSyncConfigLambdaConflictHandlerConfig.go
- AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference.go
- AppsyncFunctionSyncConfigLambdaConflictHandlerConfigOutputReference__checks.go
- AppsyncFunctionSyncConfigOutputReference.go
- AppsyncFunctionSyncConfigOutputReference__checks.go
- AppsyncFunction__checks.go
- main.go