We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.appsync.getFunctionConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 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:
- Function
Arn string - The ARN for the function generated by the service
- Function
Arn string - The ARN for the function generated by the service
- function
Arn String - The ARN for the function generated by the service
- function
Arn string - The ARN for the function generated by the service
- function_
arn str - The ARN for the function generated by the service
- function
Arn 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.
- Data
Source stringName - The name of data source this function will attach.
- Description string
- The function description.
- Function
Arn string - The ARN for the function generated by the service
- Function
Id string - The unique identifier for the function generated by the service
- Function
Version string - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
- Max
Batch intSize - 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.
- Request
Mapping stringTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- Response
Mapping stringTemplate - The Function response mapping template.
- Runtime
Pulumi.
Aws Native. App Sync. Outputs. Function Configuration App Sync Runtime - 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 Pulumi.Aws Native. App Sync. Outputs. Function Configuration Sync Config - 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.
- Data
Source stringName - The name of data source this function will attach.
- Description string
- The function description.
- Function
Arn string - The ARN for the function generated by the service
- Function
Id string - The unique identifier for the function generated by the service
- Function
Version string - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
- Max
Batch intSize - 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.
- Request
Mapping stringTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- Response
Mapping stringTemplate - The Function response mapping template.
- Runtime
Function
Configuration App Sync Runtime - 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 FunctionConfiguration Sync Config - 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.
- data
Source StringName - The name of data source this function will attach.
- description String
- The function description.
- function
Arn String - The ARN for the function generated by the service
- function
Id String - The unique identifier for the function generated by the service
- function
Version String - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
- max
Batch IntegerSize - 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.
- request
Mapping StringTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- response
Mapping StringTemplate - The Function response mapping template.
- runtime
Function
Configuration App Sync Runtime - 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 FunctionConfiguration Sync Config - 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.
- data
Source stringName - The name of data source this function will attach.
- description string
- The function description.
- function
Arn string - The ARN for the function generated by the service
- function
Id string - The unique identifier for the function generated by the service
- function
Version string - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
- max
Batch numberSize - 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.
- request
Mapping stringTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- response
Mapping stringTemplate - The Function response mapping template.
- runtime
Function
Configuration App Sync Runtime - 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 FunctionConfiguration Sync Config - 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_ strname - 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_ intsize - 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_ strtemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- response_
mapping_ strtemplate - The Function response mapping template.
- runtime
Function
Configuration App Sync Runtime - 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 FunctionConfiguration Sync Config - 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.
- data
Source StringName - The name of data source this function will attach.
- description String
- The function description.
- function
Arn String - The ARN for the function generated by the service
- function
Id String - The unique identifier for the function generated by the service
- function
Version String - The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
- max
Batch NumberSize - 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.
- request
Mapping StringTemplate - The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
- response
Mapping StringTemplate - 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.
- sync
Config 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.
- Runtime
Version 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.
- Runtime
Version 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.
- runtime
Version 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.
- runtime
Version 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.
- runtime
Version String - The version of the runtime to use. Currently, the only allowed version is 1.0.0.
FunctionConfigurationLambdaConflictHandlerConfig
- Lambda
Conflict stringHandler Arn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
- Lambda
Conflict stringHandler Arn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
- lambda
Conflict StringHandler Arn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
- lambda
Conflict stringHandler Arn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
- lambda_
conflict_ strhandler_ arn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
- lambda
Conflict StringHandler Arn - The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
FunctionConfigurationSyncConfig
- Conflict
Detection string - The Conflict Detection strategy to use.
- Conflict
Handler string - The Conflict Resolution strategy to perform in the event of a conflict.
- Lambda
Conflict Pulumi.Handler Config Aws Native. App Sync. Inputs. Function Configuration Lambda Conflict Handler Config - The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
- Conflict
Detection string - The Conflict Detection strategy to use.
- Conflict
Handler string - The Conflict Resolution strategy to perform in the event of a conflict.
- Lambda
Conflict FunctionHandler Config Configuration Lambda Conflict Handler Config - The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
- conflict
Detection String - The Conflict Detection strategy to use.
- conflict
Handler String - The Conflict Resolution strategy to perform in the event of a conflict.
- lambda
Conflict FunctionHandler Config Configuration Lambda Conflict Handler Config - The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
- conflict
Detection string - The Conflict Detection strategy to use.
- conflict
Handler string - The Conflict Resolution strategy to perform in the event of a conflict.
- lambda
Conflict FunctionHandler Config Configuration Lambda Conflict Handler Config - The
LambdaConflictHandlerConfig
when configuringLAMBDA
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_ Functionhandler_ config Configuration Lambda Conflict Handler Config - The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
- conflict
Detection String - The Conflict Detection strategy to use.
- conflict
Handler String - The Conflict Resolution strategy to perform in the event of a conflict.
- lambda
Conflict Property MapHandler Config - The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi