@Stability(value=Stable) public static final class CfnResolver.Builder extends Object implements software.amazon.jsii.Builder<CfnResolver>
CfnResolver.| Modifier and Type | Method and Description |
|---|---|
CfnResolver.Builder |
apiId(String apiId)
The AWS AppSync GraphQL API to which you want to attach this resolver.
|
CfnResolver |
build() |
CfnResolver.Builder |
cachingConfig(CfnResolver.CachingConfigProperty cachingConfig)
The caching configuration for the resolver.
|
CfnResolver.Builder |
cachingConfig(IResolvable cachingConfig)
The caching configuration for the resolver.
|
static CfnResolver.Builder |
create(software.constructs.Construct scope,
String id) |
CfnResolver.Builder |
dataSourceName(String dataSourceName)
The resolver data source name.
|
CfnResolver.Builder |
fieldName(String fieldName)
The GraphQL field on a type that invokes the resolver.
|
CfnResolver.Builder |
kind(String kind)
The resolver type.
|
CfnResolver.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.
|
CfnResolver.Builder |
pipelineConfig(CfnResolver.PipelineConfigProperty pipelineConfig)
Functions linked with the pipeline resolver.
|
CfnResolver.Builder |
pipelineConfig(IResolvable pipelineConfig)
Functions linked with the pipeline resolver.
|
CfnResolver.Builder |
requestMappingTemplate(String requestMappingTemplate)
The request mapping template.
|
CfnResolver.Builder |
requestMappingTemplateS3Location(String requestMappingTemplateS3Location)
The location of a request mapping template in an Amazon S3 bucket.
|
CfnResolver.Builder |
responseMappingTemplate(String responseMappingTemplate)
The response mapping template.
|
CfnResolver.Builder |
responseMappingTemplateS3Location(String responseMappingTemplateS3Location)
The location of a response mapping template in an Amazon S3 bucket.
|
CfnResolver.Builder |
syncConfig(CfnResolver.SyncConfigProperty syncConfig)
The `SyncConfig` for a resolver attached to a versioned data source.
|
CfnResolver.Builder |
syncConfig(IResolvable syncConfig)
The `SyncConfig` for a resolver attached to a versioned data source.
|
CfnResolver.Builder |
typeName(String typeName)
The GraphQL type that invokes this resolver.
|
@Stability(value=Stable) public static CfnResolver.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.CfnResolver.CachingConfigProperty.Builder.@Stability(value=Stable) public CfnResolver.Builder apiId(String apiId)
apiId - The AWS AppSync GraphQL API to which you want to attach this resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder fieldName(String fieldName)
fieldName - The GraphQL field on a type that invokes the resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder typeName(String typeName)
typeName - The GraphQL type that invokes this resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder cachingConfig(CfnResolver.CachingConfigProperty cachingConfig)
cachingConfig - The caching configuration for the resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder cachingConfig(IResolvable cachingConfig)
cachingConfig - The caching configuration for the resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder dataSourceName(String dataSourceName)
dataSourceName - The resolver data source name. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder kind(String kind)
Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.kind - The resolver type. This parameter is required.this@Stability(value=Stable) public CfnResolver.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 CfnResolver.Builder pipelineConfig(CfnResolver.PipelineConfigProperty pipelineConfig)
pipelineConfig - Functions linked with the pipeline resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder pipelineConfig(IResolvable pipelineConfig)
pipelineConfig - Functions linked with the pipeline resolver. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder requestMappingTemplate(String requestMappingTemplate)
Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
requestMappingTemplate - The request mapping template. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder requestMappingTemplateS3Location(String requestMappingTemplateS3Location)
Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.
requestMappingTemplateS3Location - The location of a request mapping template in an Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder responseMappingTemplate(String responseMappingTemplate)
responseMappingTemplate - The response mapping template. This parameter is required.this@Stability(value=Stable) public CfnResolver.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 CfnResolver.Builder syncConfig(CfnResolver.SyncConfigProperty syncConfig)
syncConfig - The `SyncConfig` for a resolver attached to a versioned data source. This parameter is required.this@Stability(value=Stable) public CfnResolver.Builder syncConfig(IResolvable syncConfig)
syncConfig - The `SyncConfig` for a resolver attached to a versioned data source. This parameter is required.this@Stability(value=Stable) public CfnResolver build()
build in interface software.amazon.jsii.Builder<CfnResolver>Copyright © 2022. All rights reserved.