Interface CfnFunctionConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:14.338Z")
@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();
- See Also:
-
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 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.- See Also:
-
getDataSourceName
The name of data source this function will attach.- See Also:
-
getName
The name of the function.- See Also:
-
getCode
Theresolver
code that contains the request and response functions.When code is used, the
runtime
is required. The runtime value must beAPPSYNC_JS
.- See Also:
-
getCodeS3Location
The Amazon S3 endpoint.- See Also:
-
getDescription
TheFunction
description.- See Also:
-
getFunctionVersion
The version of the request mapping template.Currently, only the 2018-05-29 version of the template is supported.
- See Also:
-
getMaxBatchSize
The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in aBatchInvoke
operation.- See Also:
-
getRequestMappingTemplate
TheFunction
request mapping template.Functions support only the 2018-05-29 version of the request mapping template.
- See Also:
-
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.
- See Also:
-
getResponseMappingTemplate
TheFunction
response mapping template.- See Also:
-
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.
- See Also:
-
getRuntime
Describes a runtime used by an AWS AppSync 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.
- See Also:
-
getSyncConfig
Describes a Sync configuration for a resolver.Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
- See Also:
-
builder
-