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

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.getFunctionConfiguration

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

    An example resource schema demonstrating some basic constructs and validation rules.

    Using getFunctionConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFunctionConfiguration(args: GetFunctionConfigurationArgs, opts?: InvokeOptions): Promise<GetFunctionConfigurationResult>
    function getFunctionConfigurationOutput(args: GetFunctionConfigurationOutputArgs, opts?: InvokeOptions): Output<GetFunctionConfigurationResult>
    def get_function_configuration(function_arn: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetFunctionConfigurationResult
    def get_function_configuration_output(function_arn: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetFunctionConfigurationResult]
    func LookupFunctionConfiguration(ctx *Context, args *LookupFunctionConfigurationArgs, opts ...InvokeOption) (*LookupFunctionConfigurationResult, error)
    func LookupFunctionConfigurationOutput(ctx *Context, args *LookupFunctionConfigurationOutputArgs, opts ...InvokeOption) LookupFunctionConfigurationResultOutput

    > Note: This function is named LookupFunctionConfiguration in the Go SDK.

    public static class GetFunctionConfiguration 
    {
        public static Task<GetFunctionConfigurationResult> InvokeAsync(GetFunctionConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetFunctionConfigurationResult> Invoke(GetFunctionConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFunctionConfigurationResult> getFunctionConfiguration(GetFunctionConfigurationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:appsync:getFunctionConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FunctionArn string
    The ARN for the function generated by the service
    FunctionArn string
    The ARN for the function generated by the service
    functionArn String
    The ARN for the function generated by the service
    functionArn string
    The ARN for the function generated by the service
    function_arn str
    The ARN for the function generated by the service
    functionArn String
    The ARN for the function generated by the service

    getFunctionConfiguration Result

    The following output properties are available:

    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.
    DataSourceName string
    The name of data source this function will attach.
    Description string
    The function description.
    FunctionArn string
    The ARN for the function generated by the service
    FunctionId string
    The unique identifier for the function generated by the service
    FunctionVersion string
    The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
    MaxBatchSize int
    The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
    Name string
    The name of the function.
    RequestMappingTemplate string
    The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
    ResponseMappingTemplate string
    The Function response mapping template.
    Runtime Pulumi.AwsNative.AppSync.Outputs.FunctionConfigurationAppSyncRuntime
    Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync 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.Outputs.FunctionConfigurationSyncConfig
    Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
    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.
    DataSourceName string
    The name of data source this function will attach.
    Description string
    The function description.
    FunctionArn string
    The ARN for the function generated by the service
    FunctionId string
    The unique identifier for the function generated by the service
    FunctionVersion string
    The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
    MaxBatchSize int
    The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
    Name string
    The name of the function.
    RequestMappingTemplate string
    The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
    ResponseMappingTemplate string
    The Function response mapping template.
    Runtime FunctionConfigurationAppSyncRuntime
    Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    SyncConfig FunctionConfigurationSyncConfig
    Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
    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.
    dataSourceName String
    The name of data source this function will attach.
    description String
    The function description.
    functionArn String
    The ARN for the function generated by the service
    functionId String
    The unique identifier for the function generated by the service
    functionVersion String
    The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
    maxBatchSize Integer
    The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
    name String
    The name of the function.
    requestMappingTemplate String
    The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
    responseMappingTemplate String
    The Function response mapping template.
    runtime FunctionConfigurationAppSyncRuntime
    Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    syncConfig FunctionConfigurationSyncConfig
    Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
    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.
    dataSourceName string
    The name of data source this function will attach.
    description string
    The function description.
    functionArn string
    The ARN for the function generated by the service
    functionId string
    The unique identifier for the function generated by the service
    functionVersion string
    The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
    maxBatchSize number
    The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
    name string
    The name of the function.
    requestMappingTemplate string
    The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
    responseMappingTemplate string
    The Function response mapping template.
    runtime FunctionConfigurationAppSyncRuntime
    Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
    syncConfig FunctionConfigurationSyncConfig
    Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
    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.
    data_source_name str
    The name of data source this function will attach.
    description str
    The function description.
    function_arn str
    The ARN for the function generated by the service
    function_id str
    The unique identifier for the function generated by the service
    function_version str
    The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
    max_batch_size int
    The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
    name str
    The name of the function.
    request_mapping_template str
    The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
    response_mapping_template str
    The Function response mapping template.
    runtime FunctionConfigurationAppSyncRuntime
    Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync 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 FunctionConfigurationSyncConfig
    Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
    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.
    dataSourceName String
    The name of data source this function will attach.
    description String
    The function description.
    functionArn String
    The ARN for the function generated by the service
    functionId String
    The unique identifier for the function generated by the service
    functionVersion String
    The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
    maxBatchSize Number
    The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
    name String
    The name of the function.
    requestMappingTemplate String
    The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
    responseMappingTemplate String
    The Function response mapping template.
    runtime Property Map
    Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync 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
    Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

    Supporting Types

    FunctionConfigurationAppSyncRuntime

    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.

    FunctionConfigurationLambdaConflictHandlerConfig

    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.

    FunctionConfigurationSyncConfig

    ConflictDetection string
    The Conflict Detection strategy to use.
    ConflictHandler string
    The Conflict Resolution strategy to perform in the event of a conflict.
    LambdaConflictHandlerConfig Pulumi.AwsNative.AppSync.Inputs.FunctionConfigurationLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    ConflictDetection string
    The Conflict Detection strategy to use.
    ConflictHandler string
    The Conflict Resolution strategy to perform in the event of a conflict.
    LambdaConflictHandlerConfig FunctionConfigurationLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflictDetection String
    The Conflict Detection strategy to use.
    conflictHandler String
    The Conflict Resolution strategy to perform in the event of a conflict.
    lambdaConflictHandlerConfig FunctionConfigurationLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflictDetection string
    The Conflict Detection strategy to use.
    conflictHandler string
    The Conflict Resolution strategy to perform in the event of a conflict.
    lambdaConflictHandlerConfig FunctionConfigurationLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflict_detection str
    The Conflict Detection strategy to use.
    conflict_handler str
    The Conflict Resolution strategy to perform in the event of a conflict.
    lambda_conflict_handler_config FunctionConfigurationLambdaConflictHandlerConfig
    The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
    conflictDetection String
    The Conflict Detection strategy to use.
    conflictHandler String
    The Conflict Resolution strategy to perform in the event of a conflict.
    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