The ID for the GraphQL API for which the resolver is being created.
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The caching keys for a resolver that has caching activated.Valid values are entries from the $context.arguments, $context.source, and $context.identity maps. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | CachingConfig_CachingKeys |
-CachingConfig_Ttl <Int64>
The TTL in seconds for a resolver that has caching activated.Valid values are 1–3,600 seconds.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Amazon.PowerShell.Cmdlets.ASYN.AmazonAppSyncClientCmdlet.ClientConfig
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name of the data source for which the resolver is being created.
Required? | False |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
The name of the field to attach the resolver to.
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The resolver type.
- UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
- PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-LambdaConflictHandlerConfig_LambdaConflictHandlerArn <
String>
The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SyncConfig_LambdaConflictHandlerConfig_LambdaConflictHandlerArn |
The maximum batching size for a resolver.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.metricsConfig can be ENABLED or DISABLED.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
A list of Function objects. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | PipelineConfig_Functions |
-RequestMappingTemplate <
String>
The mapping template to use for requests.A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-ResponseMappingTemplate <
String>
The mapping template to use for responses from the data source.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-Runtime_RuntimeVersion <
String>
The version of the runtime to use. Currently, the only allowed version is 1.0.0.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Use the -Select parameter to control the cmdlet output. The default value is 'Resolver'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.AppSync.Model.CreateResolverResponse). Specifying the name of a property of type Amazon.AppSync.Model.CreateResolverResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The Conflict Detection strategy to use.
- VERSION: Detect conflicts based on object versions for this resolver.
- NONE: Do not detect conflicts when invoking this resolver.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The Conflict Resolution strategy to perform in the event of a conflict.
- OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
- AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
- LAMBDA: Resolve conflicts with an Lambda function supplied in the LambdaConflictHandlerConfig.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name of the Type.
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |