Interface CfnFunctionConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.432Z")
@Stability(Stable)
public interface CfnFunctionConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFunctionConfiguration
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appsync.*; CfnFunctionConfigurationProps cfnFunctionConfigurationProps = CfnFunctionConfigurationProps.builder() .apiId("apiId") .dataSourceName("dataSourceName") .name("name") // the properties below are optional .code("code") .codeS3Location("codeS3Location") .description("description") .functionVersion("functionVersion") .maxBatchSize(123) .requestMappingTemplate("requestMappingTemplate") .requestMappingTemplateS3Location("requestMappingTemplateS3Location") .responseMappingTemplate("responseMappingTemplate") .responseMappingTemplateS3Location("responseMappingTemplateS3Location") .runtime(AppSyncRuntimeProperty.builder() .name("name") .runtimeVersion("runtimeVersion") .build()) .syncConfig(SyncConfigProperty.builder() .conflictDetection("conflictDetection") // the properties below are optional .conflictHandler("conflictHandler") .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder() .lambdaConflictHandlerArn("lambdaConflictHandlerArn") .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFunctionConfigurationProps
static final class
An implementation forCfnFunctionConfigurationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getApiId()
The AWS AppSync GraphQL API that you want to attach using this function.default String
getCode()
Theresolver
code that contains the request and response functions.default String
The Amazon S3 endpoint.The name of data source this function will attach.default String
TheFunction
description.default String
The version of the request mapping template.default Number
The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in aBatchInvoke
operation.getName()
The name of the function.default String
TheFunction
request mapping template.default String
Describes a Sync configuration for a resolver.default String
TheFunction
response mapping template.default String
The location of a response mapping template in an Amazon S3 bucket.default Object
Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function.default Object
Describes a Sync configuration for a resolver.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The AWS AppSync GraphQL API that you want to attach using this function. -
getDataSourceName
The name of data source this function will attach. -
getName
The name of the function. -
getCode
Theresolver
code that contains the request and response functions.When code is used, the
runtime
is required. The runtime value must beAPPSYNC_JS
. -
getCodeS3Location
The Amazon S3 endpoint. -
getDescription
TheFunction
description. -
getFunctionVersion
The version of the request mapping template.Currently, only the 2018-05-29 version of the template is supported.
-
getMaxBatchSize
The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in aBatchInvoke
operation. -
getRequestMappingTemplate
TheFunction
request mapping template.Functions support only the 2018-05-29 version of the request mapping template.
-
getRequestMappingTemplateS3Location
Describes a Sync configuration for a resolver.Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked.
-
getResponseMappingTemplate
TheFunction
response mapping template. -
getResponseMappingTemplateS3Location
The location of a response mapping template in an Amazon S3 bucket.Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
-
getRuntime
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.
-
getSyncConfig
Describes a Sync configuration for a resolver.Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
-
builder
-