@Stability(value=Stable) public static final class CfnFunctionConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionConfiguration>
CfnFunctionConfiguration.| Modifier and Type | Method and Description |
|---|---|
CfnFunctionConfiguration.Builder |
apiId(String apiId)
The AWS AppSync GraphQL API that you want to attach using this function.
|
CfnFunctionConfiguration |
build() |
static CfnFunctionConfiguration.Builder |
create(software.constructs.Construct scope,
String id) |
CfnFunctionConfiguration.Builder |
dataSourceName(String dataSourceName)
The name of data source this function will attach.
|
CfnFunctionConfiguration.Builder |
description(String description)
The `Function` description.
|
CfnFunctionConfiguration.Builder |
functionVersion(String functionVersion)
The version of the request mapping template.
|
CfnFunctionConfiguration.Builder |
maxBatchSize(Number maxBatchSize)
The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a `BatchInvoke` operation.
|
CfnFunctionConfiguration.Builder |
name(String name)
The name of the function.
|
CfnFunctionConfiguration.Builder |
requestMappingTemplate(String requestMappingTemplate)
The `Function` request mapping template.
|
CfnFunctionConfiguration.Builder |
requestMappingTemplateS3Location(String requestMappingTemplateS3Location)
Describes a Sync configuration for a resolver.
|
CfnFunctionConfiguration.Builder |
responseMappingTemplate(String responseMappingTemplate)
The `Function` response mapping template.
|
CfnFunctionConfiguration.Builder |
responseMappingTemplateS3Location(String responseMappingTemplateS3Location)
The location of a response mapping template in an Amazon S3 bucket.
|
CfnFunctionConfiguration.Builder |
syncConfig(CfnFunctionConfiguration.SyncConfigProperty syncConfig)
Describes a Sync configuration for a resolver.
|
CfnFunctionConfiguration.Builder |
syncConfig(IResolvable syncConfig)
Describes a Sync configuration for a resolver.
|
@Stability(value=Stable) public static CfnFunctionConfiguration.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty.Builder.@Stability(value=Stable) public CfnFunctionConfiguration.Builder apiId(String apiId)
apiId - The AWS AppSync GraphQL API that you want to attach using this function. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder dataSourceName(String dataSourceName)
dataSourceName - The name of data source this function will attach. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder functionVersion(String functionVersion)
Currently, only the 2018-05-29 version of the template is supported.
functionVersion - The version of the request mapping template. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder name(String name)
name - The name of the function. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder description(String description)
description - The `Function` description. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder maxBatchSize(Number maxBatchSize)
maxBatchSize - The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a `BatchInvoke` operation. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder requestMappingTemplate(String requestMappingTemplate)
Functions support only the 2018-05-29 version of the request mapping template.
requestMappingTemplate - The `Function` request mapping template. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder requestMappingTemplateS3Location(String requestMappingTemplateS3Location)
Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked.
requestMappingTemplateS3Location - Describes a Sync configuration for a resolver. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder responseMappingTemplate(String responseMappingTemplate)
responseMappingTemplate - The `Function` response mapping template. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder responseMappingTemplateS3Location(String responseMappingTemplateS3Location)
Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
responseMappingTemplateS3Location - The location of a response mapping template in an Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder syncConfig(CfnFunctionConfiguration.SyncConfigProperty syncConfig)
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
syncConfig - Describes a Sync configuration for a resolver. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration.Builder syncConfig(IResolvable syncConfig)
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
syncConfig - Describes a Sync configuration for a resolver. This parameter is required.this@Stability(value=Stable) public CfnFunctionConfiguration build()
build in interface software.amazon.jsii.Builder<CfnFunctionConfiguration>Copyright © 2022. All rights reserved.