AWS Classic
Function
Provides an AppSync Function.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleGraphQLApi = new Aws.AppSync.GraphQLApi("exampleGraphQLApi", new Aws.AppSync.GraphQLApiArgs
{
AuthenticationType = "API_KEY",
Schema = @"type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
",
});
var exampleDataSource = new Aws.AppSync.DataSource("exampleDataSource", new Aws.AppSync.DataSourceArgs
{
ApiId = exampleGraphQLApi.Id,
Name = "example",
Type = "HTTP",
HttpConfig = new Aws.AppSync.Inputs.DataSourceHttpConfigArgs
{
Endpoint = "http://example.com",
},
});
var exampleFunction = new Aws.AppSync.Function("exampleFunction", new Aws.AppSync.FunctionArgs
{
ApiId = exampleGraphQLApi.Id,
DataSource = exampleDataSource.Name,
Name = "example",
RequestMappingTemplate = @"{
""version"": ""2018-05-29"",
""method"": ""GET"",
""resourcePath"": ""/"",
""params"":{
""headers"": $utils.http.copyheaders($ctx.request.headers)
}
}
",
ResponseMappingTemplate = @"#if($ctx.result.statusCode == 200)
$ctx.result.body
#else
$utils.appendError($ctx.result.body, $ctx.result.statusCode)
#end
",
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/appsync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleGraphQLApi, err := appsync.NewGraphQLApi(ctx, "exampleGraphQLApi", &appsync.GraphQLApiArgs{
AuthenticationType: pulumi.String("API_KEY"),
Schema: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "type Mutation {\n", " putPost(id: ID!, title: String!): Post\n", "}\n", "\n", "type Post {\n", " id: ID!\n", " title: String!\n", "}\n", "\n", "type Query {\n", " singlePost(id: ID!): Post\n", "}\n", "\n", "schema {\n", " query: Query\n", " mutation: Mutation\n", "}\n")),
})
if err != nil {
return err
}
exampleDataSource, err := appsync.NewDataSource(ctx, "exampleDataSource", &appsync.DataSourceArgs{
ApiId: exampleGraphQLApi.ID(),
Name: pulumi.String("example"),
Type: pulumi.String("HTTP"),
HttpConfig: &appsync.DataSourceHttpConfigArgs{
Endpoint: pulumi.String("http://example.com"),
},
})
if err != nil {
return err
}
_, err = appsync.NewFunction(ctx, "exampleFunction", &appsync.FunctionArgs{
ApiId: exampleGraphQLApi.ID(),
DataSource: exampleDataSource.Name,
Name: pulumi.String("example"),
RequestMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"version\": \"2018-05-29\",\n", " \"method\": \"GET\",\n", " \"resourcePath\": \"/\",\n", " \"params\":{\n", " \"headers\": ", "$", "utils.http.copyheaders(", "$", "ctx.request.headers)\n", " }\n", "}\n")),
ResponseMappingTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "#if(", "$", "ctx.result.statusCode == 200)\n", " ", "$", "ctx.result.body\n", "#else\n", " ", "$", "utils.appendError(", "$", "ctx.result.body, ", "$", "ctx.result.statusCode)\n", "#end\n")),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleGraphQLApi = new GraphQLApi("exampleGraphQLApi", GraphQLApiArgs.builder()
.authenticationType("API_KEY")
.schema("""
type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
""")
.build());
var exampleDataSource = new DataSource("exampleDataSource", DataSourceArgs.builder()
.apiId(exampleGraphQLApi.id())
.name("example")
.type("HTTP")
.httpConfig(DataSourceHttpConfigArgs.builder()
.endpoint("http://example.com")
.build())
.build());
var exampleFunction = new Function("exampleFunction", FunctionArgs.builder()
.apiId(exampleGraphQLApi.id())
.dataSource(exampleDataSource.name())
.name("example")
.requestMappingTemplate("""
{
"version": "2018-05-29",
"method": "GET",
"resourcePath": "/",
"params":{
"headers": $utils.http.copyheaders($ctx.request.headers)
}
}
""")
.responseMappingTemplate("""
#if($ctx.result.statusCode == 200)
$ctx.result.body
#else
$utils.appendError($ctx.result.body, $ctx.result.statusCode)
#end
""")
.build());
}
}
import pulumi
import pulumi_aws as aws
example_graph_ql_api = aws.appsync.GraphQLApi("exampleGraphQLApi",
authentication_type="API_KEY",
schema="""type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
""")
example_data_source = aws.appsync.DataSource("exampleDataSource",
api_id=example_graph_ql_api.id,
name="example",
type="HTTP",
http_config=aws.appsync.DataSourceHttpConfigArgs(
endpoint="http://example.com",
))
example_function = aws.appsync.Function("exampleFunction",
api_id=example_graph_ql_api.id,
data_source=example_data_source.name,
name="example",
request_mapping_template="""{
"version": "2018-05-29",
"method": "GET",
"resourcePath": "/",
"params":{
"headers": $utils.http.copyheaders($ctx.request.headers)
}
}
""",
response_mapping_template="""#if($ctx.result.statusCode == 200)
$ctx.result.body
#else
$utils.appendError($ctx.result.body, $ctx.result.statusCode)
#end
""")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {
authenticationType: "API_KEY",
schema: `type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
`,
});
const exampleDataSource = new aws.appsync.DataSource("exampleDataSource", {
apiId: exampleGraphQLApi.id,
name: "example",
type: "HTTP",
httpConfig: {
endpoint: "http://example.com",
},
});
const exampleFunction = new aws.appsync.Function("exampleFunction", {
apiId: exampleGraphQLApi.id,
dataSource: exampleDataSource.name,
name: "example",
requestMappingTemplate: `{
"version": "2018-05-29",
"method": "GET",
"resourcePath": "/",
"params":{
"headers": $utils.http.copyheaders($ctx.request.headers)
}
}
`,
responseMappingTemplate: `#if($ctx.result.statusCode == 200)
$ctx.result.body
#else
$utils.appendError($ctx.result.body, $ctx.result.statusCode)
#end
`,
});
resources:
exampleGraphQLApi:
type: aws:appsync:GraphQLApi
properties:
authenticationType: API_KEY
schema: |
type Mutation {
putPost(id: ID!, title: String!): Post
}
type Post {
id: ID!
title: String!
}
type Query {
singlePost(id: ID!): Post
}
schema {
query: Query
mutation: Mutation
}
exampleDataSource:
type: aws:appsync:DataSource
properties:
apiId: ${exampleGraphQLApi.id}
name: example
type: HTTP
httpConfig:
endpoint: http://example.com
exampleFunction:
type: aws:appsync:Function
properties:
apiId: ${exampleGraphQLApi.id}
dataSource: ${exampleDataSource.name}
name: example
requestMappingTemplate: |
{
"version": "2018-05-29",
"method": "GET",
"resourcePath": "/",
"params":{
"headers": $utils.http.copyheaders($ctx.request.headers)
}
}
responseMappingTemplate: |
#if($ctx.result.statusCode == 200)
$ctx.result.body
#else
$utils.appendError($ctx.result.body, $ctx.result.statusCode)
#end
Create a Function Resource
new Function(name: string, args: FunctionArgs, opts?: CustomResourceOptions);
@overload
def Function(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
data_source: Optional[str] = None,
description: Optional[str] = None,
function_version: Optional[str] = None,
max_batch_size: Optional[int] = None,
name: Optional[str] = None,
request_mapping_template: Optional[str] = None,
response_mapping_template: Optional[str] = None,
sync_config: Optional[FunctionSyncConfigArgs] = None)
@overload
def Function(resource_name: str,
args: FunctionArgs,
opts: Optional[ResourceOptions] = None)
func NewFunction(ctx *Context, name string, args FunctionArgs, opts ...ResourceOption) (*Function, error)
public Function(string name, FunctionArgs args, CustomResourceOptions? opts = null)
public Function(String name, FunctionArgs args)
public Function(String name, FunctionArgs args, CustomResourceOptions options)
type: aws:appsync:Function
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FunctionArgs
- 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 FunctionArgs
- 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 FunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FunctionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Function Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Function resource accepts the following input properties:
- Api
Id string The ID of the associated AppSync API.
- Data
Source string The Function DataSource name.
- 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.
- Description string
The Function description.
- Function
Version string The version of the request mapping template. Currently the supported value is
2018-05-29
.- Max
Batch intSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- Name string
The Function name. The function name does not have to be unique.
- Sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- Api
Id string The ID of the associated AppSync API.
- Data
Source string The Function DataSource name.
- 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.
- Description string
The Function description.
- Function
Version string The version of the request mapping template. Currently the supported value is
2018-05-29
.- Max
Batch intSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- Name string
The Function name. The function name does not have to be unique.
- Sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api
Id String The ID of the associated AppSync API.
- data
Source String The Function DataSource name.
- 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.
- description String
The Function description.
- function
Version String The version of the request mapping template. Currently the supported value is
2018-05-29
.- max
Batch IntegerSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name String
The Function name. The function name does not have to be unique.
- sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api
Id string The ID of the associated AppSync API.
- data
Source string The Function DataSource name.
- 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.
- description string
The Function description.
- function
Version string The version of the request mapping template. Currently the supported value is
2018-05-29
.- max
Batch numberSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name string
The Function name. The function name does not have to be unique.
- sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api_
id str The ID of the associated AppSync API.
- data_
source str The Function DataSource name.
- 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.
- description str
The Function description.
- function_
version str The version of the request mapping template. Currently the supported value is
2018-05-29
.- max_
batch_ intsize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name str
The Function name. The function name does not have to be unique.
- sync_
config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api
Id String The ID of the associated AppSync API.
- data
Source String The Function DataSource name.
- 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.
- description String
The Function description.
- function
Version String The version of the request mapping template. Currently the supported value is
2018-05-29
.- max
Batch NumberSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name String
The Function name. The function name does not have to be unique.
- sync
Config Property Map Describes a Sync configuration for a resolver. See Sync Config.
Outputs
All input properties are implicitly available as output properties. Additionally, the Function resource produces the following output properties:
- Arn string
The ARN of the Function object.
- Function
Id string A unique ID representing the Function object.
- Id string
The provider-assigned unique ID for this managed resource.
- Arn string
The ARN of the Function object.
- Function
Id string A unique ID representing the Function object.
- Id string
The provider-assigned unique ID for this managed resource.
- arn String
The ARN of the Function object.
- function
Id String A unique ID representing the Function object.
- id String
The provider-assigned unique ID for this managed resource.
- arn string
The ARN of the Function object.
- function
Id string A unique ID representing the Function object.
- id string
The provider-assigned unique ID for this managed resource.
- arn str
The ARN of the Function object.
- function_
id str A unique ID representing the Function object.
- id str
The provider-assigned unique ID for this managed resource.
- arn String
The ARN of the Function object.
- function
Id String A unique ID representing the Function object.
- id String
The provider-assigned unique ID for this managed resource.
Look up an Existing Function Resource
Get an existing Function resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FunctionState, opts?: CustomResourceOptions): Function
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
arn: Optional[str] = None,
data_source: Optional[str] = None,
description: Optional[str] = None,
function_id: Optional[str] = None,
function_version: Optional[str] = None,
max_batch_size: Optional[int] = None,
name: Optional[str] = None,
request_mapping_template: Optional[str] = None,
response_mapping_template: Optional[str] = None,
sync_config: Optional[FunctionSyncConfigArgs] = None) -> Function
func GetFunction(ctx *Context, name string, id IDInput, state *FunctionState, opts ...ResourceOption) (*Function, error)
public static Function Get(string name, Input<string> id, FunctionState? state, CustomResourceOptions? opts = null)
public static Function get(String name, Output<String> id, FunctionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Id string The ID of the associated AppSync API.
- Arn string
The ARN of the Function object.
- Data
Source string The Function DataSource name.
- Description string
The Function description.
- Function
Id string A unique ID representing the Function object.
- Function
Version string The version of the request mapping template. Currently the supported value is
2018-05-29
.- Max
Batch intSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- Name string
The Function name. The function name does not have to be unique.
- 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.
- Sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- Api
Id string The ID of the associated AppSync API.
- Arn string
The ARN of the Function object.
- Data
Source string The Function DataSource name.
- Description string
The Function description.
- Function
Id string A unique ID representing the Function object.
- Function
Version string The version of the request mapping template. Currently the supported value is
2018-05-29
.- Max
Batch intSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- Name string
The Function name. The function name does not have to be unique.
- 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.
- Sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api
Id String The ID of the associated AppSync API.
- arn String
The ARN of the Function object.
- data
Source String The Function DataSource name.
- description String
The Function description.
- function
Id String A unique ID representing the Function object.
- function
Version String The version of the request mapping template. Currently the supported value is
2018-05-29
.- max
Batch IntegerSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name String
The Function name. The function name does not have to be unique.
- 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.
- sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api
Id string The ID of the associated AppSync API.
- arn string
The ARN of the Function object.
- data
Source string The Function DataSource name.
- description string
The Function description.
- function
Id string A unique ID representing the Function object.
- function
Version string The version of the request mapping template. Currently the supported value is
2018-05-29
.- max
Batch numberSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name string
The Function name. The function name does not have to be unique.
- 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.
- sync
Config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api_
id str The ID of the associated AppSync API.
- arn str
The ARN of the Function object.
- data_
source str The Function DataSource name.
- description str
The Function description.
- function_
id str A unique ID representing the Function object.
- function_
version str The version of the request mapping template. Currently the supported value is
2018-05-29
.- max_
batch_ intsize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name str
The Function name. The function name does not have to be unique.
- 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.
- sync_
config FunctionSync Config Args Describes a Sync configuration for a resolver. See Sync Config.
- api
Id String The ID of the associated AppSync API.
- arn String
The ARN of the Function object.
- data
Source String The Function DataSource name.
- description String
The Function description.
- function
Id String A unique ID representing the Function object.
- function
Version String The version of the request mapping template. Currently the supported value is
2018-05-29
.- max
Batch NumberSize The maximum batching size for a resolver. Valid values are between
0
and2000
.- name String
The Function name. The function name does not have to be unique.
- 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.
- sync
Config Property Map Describes a Sync configuration for a resolver. See Sync Config.
Supporting Types
FunctionSyncConfig
- Conflict
Detection string The Conflict Detection strategy to use. Valid values are
NONE
andVERSION
.- Conflict
Handler string The Conflict Resolution strategy to perform in the event of a conflict. Valid values are
NONE
,OPTIMISTIC_CONCURRENCY
,AUTOMERGE
, andLAMBDA
.- Lambda
Conflict FunctionHandler Config Sync Config Lambda Conflict Handler Config The Lambda Conflict Handler Config when configuring
LAMBDA
as the Conflict Handler. See Lambda Conflict Handler Config.
- Conflict
Detection string The Conflict Detection strategy to use. Valid values are
NONE
andVERSION
.- Conflict
Handler string The Conflict Resolution strategy to perform in the event of a conflict. Valid values are
NONE
,OPTIMISTIC_CONCURRENCY
,AUTOMERGE
, andLAMBDA
.- Lambda
Conflict FunctionHandler Config Sync Config Lambda Conflict Handler Config The Lambda Conflict Handler Config when configuring
LAMBDA
as the Conflict Handler. See Lambda Conflict Handler Config.
- conflict
Detection String The Conflict Detection strategy to use. Valid values are
NONE
andVERSION
.- conflict
Handler String The Conflict Resolution strategy to perform in the event of a conflict. Valid values are
NONE
,OPTIMISTIC_CONCURRENCY
,AUTOMERGE
, andLAMBDA
.- lambda
Conflict FunctionHandler Config Sync Config Lambda Conflict Handler Config The Lambda Conflict Handler Config when configuring
LAMBDA
as the Conflict Handler. See Lambda Conflict Handler Config.
- conflict
Detection string The Conflict Detection strategy to use. Valid values are
NONE
andVERSION
.- conflict
Handler string The Conflict Resolution strategy to perform in the event of a conflict. Valid values are
NONE
,OPTIMISTIC_CONCURRENCY
,AUTOMERGE
, andLAMBDA
.- lambda
Conflict FunctionHandler Config Sync Config Lambda Conflict Handler Config The Lambda Conflict Handler Config when configuring
LAMBDA
as the Conflict Handler. See Lambda Conflict Handler Config.
- conflict_
detection str The Conflict Detection strategy to use. Valid values are
NONE
andVERSION
.- conflict_
handler str The Conflict Resolution strategy to perform in the event of a conflict. Valid values are
NONE
,OPTIMISTIC_CONCURRENCY
,AUTOMERGE
, andLAMBDA
.- lambda_
conflict_ Functionhandler_ config Sync Config Lambda Conflict Handler Config The Lambda Conflict Handler Config when configuring
LAMBDA
as the Conflict Handler. See Lambda Conflict Handler Config.
- conflict
Detection String The Conflict Detection strategy to use. Valid values are
NONE
andVERSION
.- conflict
Handler String The Conflict Resolution strategy to perform in the event of a conflict. Valid values are
NONE
,OPTIMISTIC_CONCURRENCY
,AUTOMERGE
, andLAMBDA
.- lambda
Conflict Property MapHandler Config The Lambda Conflict Handler Config when configuring
LAMBDA
as the Conflict Handler. See Lambda Conflict Handler Config.
FunctionSyncConfigLambdaConflictHandlerConfig
- 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.
Import
aws_appsync_function
can be imported using the AppSync API ID and Function ID separated by -
, e.g.,
$ pulumi import aws:appsync/function:Function example xxxxx-yyyyy
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.