ResolverState class
Input properties used for looking up and filtering Resolver resources.
Constructors
-
ResolverState({Input<
String?> ? apiId, Input<String?> ? arn, Input<ResolverCachingConfig?> ? cachingConfig, Input<String?> ? code, Input<String?> ? dataSource, Input<String?> ? field, Input<String?> ? kind, Input<int?> ? maxBatchSize, Input<ResolverPipelineConfig?> ? pipelineConfig, Input<String?> ? region, Input<String?> ? requestTemplate, Input<String?> ? responseTemplate, Input<ResolverRuntime?> ? runtime, Input<ResolverSyncConfig?> ? syncConfig, Input<String?> ? type}) -
Creates a new ResolverState.
apiIdAPI ID for the GraphQL API.arnARNcachingConfigCaching Config. See Caching Config.codeFunction code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.dataSourceData source name.fieldField name from the schema defined in the GraphQL API.kindResolver type. Valid values areUNITandPIPELINE.maxBatchSizeMaximum batching size for a resolver. Valid values are between0and2000.pipelineConfigCaching configuration for the resolver. See Pipeline Config.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.requestTemplateRequest mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.responseTemplateResponse mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.runtimeRuntime 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. See Runtime.syncConfigSync configuration for a resolver. See Sync Config.typeType name from the schema defined in the GraphQL API.const -
ResolverState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiId
→ Input<
String?> ? -
API ID for the GraphQL API.
final
-
arn
→ Input<
String?> ? -
ARN
final
-
cachingConfig
→ Input<
ResolverCachingConfig?> ? -
Caching Config. See Caching Config.
final
-
code
→ Input<
String?> ? -
Function code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
final
-
dataSource
→ Input<
String?> ? -
Data source name.
final
-
field
→ Input<
String?> ? -
Field name from the schema defined in the GraphQL API.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kind
→ Input<
String?> ? -
Resolver type. Valid values are
UNITandPIPELINE.final -
maxBatchSize
→ Input<
int?> ? -
Maximum batching size for a resolver. Valid values are between
0and2000.final -
pipelineConfig
→ Input<
ResolverPipelineConfig?> ? -
Caching configuration for the resolver. See Pipeline Config.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
requestTemplate
→ Input<
String?> ? -
Request mapping template for UNIT resolver or 'before mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
final
-
responseTemplate
→ Input<
String?> ? -
Response mapping template for UNIT resolver or 'after mapping template' for PIPELINE resolver. Required for non-Lambda resolvers.
final
-
runtime
→ Input<
ResolverRuntime?> ? -
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. See Runtime.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
syncConfig
→ Input<
ResolverSyncConfig?> ? -
Sync configuration for a resolver. See Sync Config.
final
-
type
→ Input<
String?> ? -
Type name from the schema defined in the GraphQL API.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited