1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. appsync
  5. Resolver

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.appsync.Resolver

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    The AWS::AppSync::Resolver resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see Resolver Mapping Template Reference. When you submit an update, CFNLong updates resources based on differences between what you submit and the stack’s current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation. See Update Behaviors of Stack Resources in the User Guide.

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var graphQlApiId = config.Require("graphQlApiId");
        var dataSourceName = config.Require("dataSourceName");
        var fieldName = config.Require("fieldName");
        var typeName = config.Require("typeName");
        var requestMappingTemplateS3LocationInput = config.Require("requestMappingTemplateS3LocationInput");
        var responseMappingTemplateS3LocationInput = config.Require("responseMappingTemplateS3LocationInput");
        var resolver = new AwsNative.AppSync.Resolver("resolver", new()
        {
            ApiId = graphQlApiId,
            TypeName = typeName,
            FieldName = fieldName,
            DataSourceName = dataSourceName,
            RequestMappingTemplateS3Location = requestMappingTemplateS3LocationInput,
            ResponseMappingTemplateS3Location = responseMappingTemplateS3LocationInput,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/appsync"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		graphQlApiId := cfg.Require("graphQlApiId")
    		dataSourceName := cfg.Require("dataSourceName")
    		fieldName := cfg.Require("fieldName")
    		typeName := cfg.Require("typeName")
    		requestMappingTemplateS3LocationInput := cfg.Require("requestMappingTemplateS3LocationInput")
    		responseMappingTemplateS3LocationInput := cfg.Require("responseMappingTemplateS3LocationInput")
    		_, err := appsync.NewResolver(ctx, "resolver", &appsync.ResolverArgs{
    			ApiId:                             pulumi.String(graphQlApiId),
    			TypeName:                          pulumi.String(typeName),
    			FieldName:                         pulumi.String(fieldName),
    			DataSourceName:                    pulumi.String(dataSourceName),
    			RequestMappingTemplateS3Location:  pulumi.String(requestMappingTemplateS3LocationInput),
    			ResponseMappingTemplateS3Location: pulumi.String(responseMappingTemplateS3LocationInput),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    config = pulumi.Config()
    graph_ql_api_id = config.require("graphQlApiId")
    data_source_name = config.require("dataSourceName")
    field_name = config.require("fieldName")
    type_name = config.require("typeName")
    request_mapping_template_s3_location_input = config.require("requestMappingTemplateS3LocationInput")
    response_mapping_template_s3_location_input = config.require("responseMappingTemplateS3LocationInput")
    resolver = aws_native.appsync.Resolver("resolver",
        api_id=graph_ql_api_id,
        type_name=type_name,
        field_name=field_name,
        data_source_name=data_source_name,
        request_mapping_template_s3_location=request_mapping_template_s3_location_input,
        response_mapping_template_s3_location=response_mapping_template_s3_location_input)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const config = new pulumi.Config();
    const graphQlApiId = config.require("graphQlApiId");
    const dataSourceName = config.require("dataSourceName");
    const fieldName = config.require("fieldName");
    const typeName = config.require("typeName");
    const requestMappingTemplateS3LocationInput = config.require("requestMappingTemplateS3LocationInput");
    const responseMappingTemplateS3LocationInput = config.require("responseMappingTemplateS3LocationInput");
    const resolver = new aws_native.appsync.Resolver("resolver", {
        apiId: graphQlApiId,
        typeName: typeName,
        fieldName: fieldName,
        dataSourceName: dataSourceName,
        requestMappingTemplateS3Location: requestMappingTemplateS3LocationInput,
        responseMappingTemplateS3Location: responseMappingTemplateS3LocationInput,
    });
    

    Coming soon!

    Create Resolver Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Resolver(name: string, args: ResolverArgs, opts?: CustomResourceOptions);
    @overload
    def Resolver(resource_name: str,
                 args: ResolverArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Resolver(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 field_name: Optional[str] = None,
                 type_name: Optional[str] = None,
                 api_id: Optional[str] = None,
                 metrics_config: Optional[ResolverMetricsConfig] = None,
                 request_mapping_template: Optional[str] = None,
                 code_s3_location: Optional[str] = None,
                 kind: Optional[str] = None,
                 max_batch_size: Optional[int] = None,
                 code: Optional[str] = None,
                 pipeline_config: Optional[ResolverPipelineConfigArgs] = None,
                 data_source_name: Optional[str] = None,
                 request_mapping_template_s3_location: Optional[str] = None,
                 response_mapping_template: Optional[str] = None,
                 response_mapping_template_s3_location: Optional[str] = None,
                 runtime: Optional[ResolverAppSyncRuntimeArgs] = None,
                 sync_config: Optional[ResolverSyncConfigArgs] = None,
                 caching_config: Optional[ResolverCachingConfigArgs] = None)
    func NewResolver(ctx *Context, name string, args ResolverArgs, opts ...ResourceOption) (*Resolver, error)
    public Resolver(string name, ResolverArgs args, CustomResourceOptions? opts = null)
    public Resolver(String name, ResolverArgs args)
    public Resolver(String name, ResolverArgs args, CustomResourceOptions options)
    
    type: aws-native:appsync:Resolver
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ResolverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ResolverArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ResolverArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResolverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResolverArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Resolver Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Resolver resource accepts the following input properties:

    ApiId string
    The APSYlong GraphQL API to which you want to attach this resolver.
    FieldName string
    The GraphQL field on a type that invokes the resolver.
    TypeName string
    The GraphQL type that invokes this resolver.
    CachingConfig Pulumi.AwsNative.AppSync.Inputs.ResolverCachingConfig
    The caching configuration for the resolver.
    Code string
    The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
    CodeS3Location string
    The Amazon S3 endpoint.
    DataSourceName string
    The resolver data source name.
    Kind string
    The resolver type.

    • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
    • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
    MaxBatchSize int
    The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
    MetricsConfig Pulumi.AwsNative.AppSync.ResolverMetricsConfig
    Enables or disables enhanced resolver metrics for specified resolvers. Note that MetricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, MetricsConfig will be ignored. However, you can still set its value.
    PipelineConfig Pulumi.AwsNative.AppSync.Inputs.ResolverPipelineConfig
    Functions linked with the pipeline resolver.
    RequestMappingTemplate string
    The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
    RequestMappingTemplateS3Location string
    The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    ResponseMappingTemplate string
    The response mapping template.
    ResponseMappingTemplateS3Location string
    The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    Runtime Pulumi.AwsNative.AppSync.Inputs.ResolverAppSyncRuntime
    Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    SyncConfig Pulumi.AwsNative.AppSync.Inputs.ResolverSyncConfig
    The SyncConfig for a resolver attached to a versioned data source.
    ApiId string
    The APSYlong GraphQL API to which you want to attach this resolver.
    FieldName string
    The GraphQL field on a type that invokes the resolver.
    TypeName string
    The GraphQL type that invokes this resolver.
    CachingConfig ResolverCachingConfigArgs
    The caching configuration for the resolver.
    Code string
    The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
    CodeS3Location string
    The Amazon S3 endpoint.
    DataSourceName string
    The resolver data source name.
    Kind string
    The resolver type.

    • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
    • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
    MaxBatchSize int
    The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
    MetricsConfig ResolverMetricsConfig
    Enables or disables enhanced resolver metrics for specified resolvers. Note that MetricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, MetricsConfig will be ignored. However, you can still set its value.
    PipelineConfig ResolverPipelineConfigArgs
    Functions linked with the pipeline resolver.
    RequestMappingTemplate string
    The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
    RequestMappingTemplateS3Location string
    The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    ResponseMappingTemplate string
    The response mapping template.
    ResponseMappingTemplateS3Location string
    The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    Runtime ResolverAppSyncRuntimeArgs
    Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    SyncConfig ResolverSyncConfigArgs
    The SyncConfig for a resolver attached to a versioned data source.
    apiId String
    The APSYlong GraphQL API to which you want to attach this resolver.
    fieldName String
    The GraphQL field on a type that invokes the resolver.
    typeName String
    The GraphQL type that invokes this resolver.
    cachingConfig ResolverCachingConfig
    The caching configuration for the resolver.
    code String
    The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
    codeS3Location String
    The Amazon S3 endpoint.
    dataSourceName String
    The resolver data source name.
    kind String
    The resolver type.

    • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
    • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
    maxBatchSize Integer
    The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
    metricsConfig ResolverMetricsConfig
    Enables or disables enhanced resolver metrics for specified resolvers. Note that MetricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, MetricsConfig will be ignored. However, you can still set its value.
    pipelineConfig ResolverPipelineConfig
    Functions linked with the pipeline resolver.
    requestMappingTemplate String
    The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
    requestMappingTemplateS3Location String
    The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    responseMappingTemplate String
    The response mapping template.
    responseMappingTemplateS3Location String
    The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    runtime ResolverAppSyncRuntime
    Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    syncConfig ResolverSyncConfig
    The SyncConfig for a resolver attached to a versioned data source.
    apiId string
    The APSYlong GraphQL API to which you want to attach this resolver.
    fieldName string
    The GraphQL field on a type that invokes the resolver.
    typeName string
    The GraphQL type that invokes this resolver.
    cachingConfig ResolverCachingConfig
    The caching configuration for the resolver.
    code string
    The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
    codeS3Location string
    The Amazon S3 endpoint.
    dataSourceName string
    The resolver data source name.
    kind string
    The resolver type.

    • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
    • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
    maxBatchSize number
    The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
    metricsConfig ResolverMetricsConfig
    Enables or disables enhanced resolver metrics for specified resolvers. Note that MetricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, MetricsConfig will be ignored. However, you can still set its value.
    pipelineConfig ResolverPipelineConfig
    Functions linked with the pipeline resolver.
    requestMappingTemplate string
    The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
    requestMappingTemplateS3Location string
    The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    responseMappingTemplate string
    The response mapping template.
    responseMappingTemplateS3Location string
    The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    runtime ResolverAppSyncRuntime
    Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    syncConfig ResolverSyncConfig
    The SyncConfig for a resolver attached to a versioned data source.
    api_id str
    The APSYlong GraphQL API to which you want to attach this resolver.
    field_name str
    The GraphQL field on a type that invokes the resolver.
    type_name str
    The GraphQL type that invokes this resolver.
    caching_config ResolverCachingConfigArgs
    The caching configuration for the resolver.
    code str
    The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
    code_s3_location str
    The Amazon S3 endpoint.
    data_source_name str
    The resolver data source name.
    kind str
    The resolver type.

    • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
    • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
    max_batch_size int
    The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
    metrics_config ResolverMetricsConfig
    Enables or disables enhanced resolver metrics for specified resolvers. Note that MetricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, MetricsConfig will be ignored. However, you can still set its value.
    pipeline_config ResolverPipelineConfigArgs
    Functions linked with the pipeline resolver.
    request_mapping_template str
    The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
    request_mapping_template_s3_location str
    The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    response_mapping_template str
    The response mapping template.
    response_mapping_template_s3_location str
    The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    runtime ResolverAppSyncRuntimeArgs
    Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    sync_config ResolverSyncConfigArgs
    The SyncConfig for a resolver attached to a versioned data source.
    apiId String
    The APSYlong GraphQL API to which you want to attach this resolver.
    fieldName String
    The GraphQL field on a type that invokes the resolver.
    typeName String
    The GraphQL type that invokes this resolver.
    cachingConfig Property Map
    The caching configuration for the resolver.
    code String
    The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
    codeS3Location String
    The Amazon S3 endpoint.
    dataSourceName String
    The resolver data source name.
    kind String
    The resolver type.

    • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
    • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
    maxBatchSize Number
    The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
    metricsConfig "ENABLED" | "DISABLED"
    Enables or disables enhanced resolver metrics for specified resolvers. Note that MetricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, MetricsConfig will be ignored. However, you can still set its value.
    pipelineConfig Property Map
    Functions linked with the pipeline resolver.
    requestMappingTemplate String
    The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
    requestMappingTemplateS3Location String
    The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    responseMappingTemplate String
    The response mapping template.
    responseMappingTemplateS3Location String
    The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
    runtime Property Map
    Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    syncConfig Property Map
    The SyncConfig for a resolver attached to a versioned data source.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Resolver resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ResolverArn string
    ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .
    Id string
    The provider-assigned unique ID for this managed resource.
    ResolverArn string
    ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .
    id String
    The provider-assigned unique ID for this managed resource.
    resolverArn String
    ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .
    id string
    The provider-assigned unique ID for this managed resource.
    resolverArn string
    ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .
    id str
    The provider-assigned unique ID for this managed resource.
    resolver_arn str
    ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .
    id String
    The provider-assigned unique ID for this managed resource.
    resolverArn String
    ARN of the resolver, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername .

    Supporting Types

    ResolverAppSyncRuntime, ResolverAppSyncRuntimeArgs

    Name string
    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
    RuntimeVersion string
    The version of the runtime to use. Currently, the only allowed version is 1.0.0.
    Name string
    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
    RuntimeVersion string
    The version of the runtime to use. Currently, the only allowed version is 1.0.0.
    name String
    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
    runtimeVersion String
    The version of the runtime to use. Currently, the only allowed version is 1.0.0.
    name string
    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
    runtimeVersion string
    The version of the runtime to use. Currently, the only allowed version is 1.0.0.
    name str
    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
    runtime_version str
    The version of the runtime to use. Currently, the only allowed version is 1.0.0.
    name String
    The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
    runtimeVersion String
    The version of the runtime to use. Currently, the only allowed version is 1.0.0.

    ResolverCachingConfig, ResolverCachingConfigArgs

    Ttl double
    The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
    CachingKeys List<string>
    The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
    Ttl float64
    The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
    CachingKeys []string
    The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
    ttl Double
    The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
    cachingKeys List<String>
    The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
    ttl number
    The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
    cachingKeys string[]
    The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
    ttl float
    The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
    caching_keys Sequence[str]
    The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.
    ttl Number
    The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
    cachingKeys List<String>
    The caching keys for a resolver that has caching activated. Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

    ResolverLambdaConflictHandlerConfig, ResolverLambdaConflictHandlerConfigArgs

    LambdaConflictHandlerArn string
    The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
    LambdaConflictHandlerArn string
    The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
    lambdaConflictHandlerArn String
    The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
    lambdaConflictHandlerArn string
    The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
    lambda_conflict_handler_arn str
    The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
    lambdaConflictHandlerArn String
    The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.

    ResolverMetricsConfig, ResolverMetricsConfigArgs

    Enabled
    ENABLED
    Disabled
    DISABLED
    ResolverMetricsConfigEnabled
    ENABLED
    ResolverMetricsConfigDisabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    ENABLED
    ENABLED
    DISABLED
    DISABLED
    "ENABLED"
    ENABLED
    "DISABLED"
    DISABLED

    ResolverPipelineConfig, ResolverPipelineConfigArgs

    Functions List<string>
    A list of Function objects.
    Functions []string
    A list of Function objects.
    functions List<String>
    A list of Function objects.
    functions string[]
    A list of Function objects.
    functions Sequence[str]
    A list of Function objects.
    functions List<String>
    A list of Function objects.

    ResolverSyncConfig, ResolverSyncConfigArgs

    ConflictDetection string
    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
    ConflictHandler string
    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an LAMlong function supplied in the LambdaConflictHandlerConfig.
    LambdaConflictHandlerConfig Pulumi.AwsNative.AppSync.Inputs.ResolverLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    ConflictDetection string
    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
    ConflictHandler string
    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an LAMlong function supplied in the LambdaConflictHandlerConfig.
    LambdaConflictHandlerConfig ResolverLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflictDetection String
    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
    conflictHandler String
    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an LAMlong function supplied in the LambdaConflictHandlerConfig.
    lambdaConflictHandlerConfig ResolverLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflictDetection string
    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
    conflictHandler string
    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an LAMlong function supplied in the LambdaConflictHandlerConfig.
    lambdaConflictHandlerConfig ResolverLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflict_detection str
    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
    conflict_handler str
    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an LAMlong function supplied in the LambdaConflictHandlerConfig.
    lambda_conflict_handler_config ResolverLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflictDetection String
    The Conflict Detection strategy to use.

    • VERSION: Detect conflicts based on object versions for this resolver.
    • NONE: Do not detect conflicts when invoking this resolver.
    conflictHandler String
    The Conflict Resolution strategy to perform in the event of a conflict.

    • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
    • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
    • LAMBDA: Resolve conflicts with an LAMlong function supplied in the LambdaConflictHandlerConfig.
    lambdaConflictHandlerConfig Property Map
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi