Aws/appsync
@swamp/aws/appsyncv2026.10.25.1
01README
AWS APPSYNC infrastructure models
02Release Notes
- Updated: source_api_association
03Behaviors
@swamp/aws/appsync/apiv2026.10.23.1api.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Name | string | The name of the AppSync API. |
| OwnerContact? | string | The owner contact information for an API resource. |
| EventConfig? | object | The configuration for an Event Api |
| Tags? | array | An arbitrary set of tags (key-value pairs) for this AppSync API. |
fn create()
Create a AppSync Api
fn get(identifier: string)
Get a AppSync Api
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync Api |
fn update()
Update a AppSync Api
fn delete(identifier: string)
Delete a AppSync Api
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync Api |
fn sync()
Sync AppSync Api state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync Api resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync Api resource state
@swamp/aws/appsync/api-cachev2026.10.23.1api_cache.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ApiCachingBehavior | string | Caching behavior, such as FULL_REQUEST_CACHING, PER_RESOLVER_CACHING, or OPERATION_LEVEL_CACHING |
| ApiId | string | Unique AWS AppSync GraphQL API identifier. |
| AtRestEncryptionEnabled? | boolean | At-rest encryption flag for cache. You cannot update this setting after creation. |
| HealthMetricsConfig? | string | Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include NetworkBandwidthOutAllowanceExceeded and EngineCPUUtilization |
| TransitEncryptionEnabled? | boolean | Transit encryption flag when connecting to cache. You cannot update this setting after creation. |
| Ttl | number | TTL in seconds for cache entries. Valid values are 1-3600. |
| Type | string | The cache instance type, such as SMALL, LARGE and LARGE_4X |
fn create()
Create a AppSync ApiCache
fn get(identifier: string)
Get a AppSync ApiCache
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync ApiCache |
fn update()
Update a AppSync ApiCache
fn delete(identifier: string)
Delete a AppSync ApiCache
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync ApiCache |
fn sync()
Sync AppSync ApiCache state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync ApiCache resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync ApiCache resource state
@swamp/aws/appsync/api-keyv2026.10.23.1api_key.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Description? | string | Unique description of your API key. |
| Expires? | number | The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. |
| ApiId | string | Unique AWS AppSync GraphQL API ID for this API key. |
fn create()
Create a AppSync ApiKey
fn get(identifier: string)
Get a AppSync ApiKey
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync ApiKey |
fn update()
Update a AppSync ApiKey
fn delete(identifier: string)
Delete a AppSync ApiKey
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync ApiKey |
fn sync()
Sync AppSync ApiKey state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync ApiKey resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync ApiKey resource state
@swamp/aws/appsync/channel-namespacev2026.10.23.1channel_namespace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ApiId | string | AppSync Api Id that this Channel Namespace belongs to. |
| Name | string | Namespace indentifier. |
| SubscribeAuthModes? | array | List of AuthModes supported for Subscribe operations. |
| PublishAuthModes? | array | List of AuthModes supported for Publish operations. |
| CodeHandlers? | string | String of APPSYNC_JS code to be used by the handlers. |
| CodeS3Location? | string | The Amazon S3 endpoint where the code is located. |
| Tags? | array | An arbitrary set of tags (key-value pairs) for this AppSync API. |
| HandlerConfigs? | object |
fn create()
Create a AppSync ChannelNamespace
fn get(identifier: string)
Get a AppSync ChannelNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync ChannelNamespace |
fn update()
Update a AppSync ChannelNamespace
fn delete(identifier: string)
Delete a AppSync ChannelNamespace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync ChannelNamespace |
fn sync()
Sync AppSync ChannelNamespace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync ChannelNamespace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync ChannelNamespace resource state
@swamp/aws/appsync/data-sourcev2026.10.23.1data_source.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ApiId | string | Unique AWS AppSync GraphQL API identifier where this data source will be created. |
| Description? | string | The description of the data source. |
| DynamoDBConfig? | object | AWS Region and TableName for an Amazon DynamoDB table in your account. |
| ElasticsearchConfig? | object | AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service. This property is deprecated. For new data sources, use OpenSearchServiceConfig to specify an OpenSearch Service data source. |
| EventBridgeConfig? | object | ARN for the EventBridge bus. |
| HttpConfig? | object | Endpoints for an HTTP data source. |
| LambdaConfig? | object | An ARN of a Lambda function in valid ARN format. This can be the ARN of a Lambda function that exists in the current account or in another account. |
| Name | string | Friendly name for you to identify your AppSync data source after creation. |
| OpenSearchServiceConfig? | object | AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. |
| RelationalDatabaseConfig? | object | Relational Database configuration of the relational database data source. |
| ServiceRoleArn? | string | The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source. |
| Type | string | The type of the data source. |
| MetricsConfig? | enum |
fn create()
Create a AppSync DataSource
fn get(identifier: string)
Get a AppSync DataSource
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync DataSource |
fn update()
Update a AppSync DataSource
fn delete(identifier: string)
Delete a AppSync DataSource
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync DataSource |
fn sync()
Sync AppSync DataSource state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync DataSource resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync DataSource resource state
@swamp/aws/appsync/domain-namev2026.10.23.1domain_name.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DomainName | string | |
| Description? | string | |
| CertificateArn | string | |
| Tags? | array | An arbitrary set of tags (key-value pairs) for this Domain Name. |
fn create()
Create a AppSync DomainName
fn get(identifier: string)
Get a AppSync DomainName
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync DomainName |
fn update()
Update a AppSync DomainName
fn delete(identifier: string)
Delete a AppSync DomainName
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync DomainName |
fn sync()
Sync AppSync DomainName state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync DomainName resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync DomainName resource state
@swamp/aws/appsync/domain-name-api-associationv2026.10.23.1domain_name_api_association.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| DomainName | string | |
| ApiId | string |
fn create()
Create a AppSync DomainNameApiAssociation
fn get(identifier: string)
Get a AppSync DomainNameApiAssociation
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync DomainNameApiAssociation |
fn update()
Update a AppSync DomainNameApiAssociation
fn delete(identifier: string)
Delete a AppSync DomainNameApiAssociation
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync DomainNameApiAssociation |
fn sync()
Sync AppSync DomainNameApiAssociation state from AWS
Resources
state(infinite)— AppSync DomainNameApiAssociation resource state
@swamp/aws/appsync/function-configurationv2026.10.23.1function_configuration.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ApiId | string | The AWS AppSync GraphQL API that you want to attach using this function. |
| Code? | string | 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. |
| CodeS3Location? | string | The Amazon S3 endpoint (where the code is located??). |
| DataSourceName | string | The name of data source this function will attach. |
| Description? | string | The function description. |
| FunctionVersion? | string | The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported. |
| MaxBatchSize? | number | The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation. |
| Name | string | The name of the function. |
| RequestMappingTemplate? | string | The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template. |
| RequestMappingTemplateS3Location? | string | 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. |
| ResponseMappingTemplate? | string | The Function response mapping template. |
| ResponseMappingTemplateS3Location? | string | 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. |
| Runtime? | object | Describes a 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. |
| SyncConfig? | object | Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked. |
fn create()
Create a AppSync FunctionConfiguration
fn get(identifier: string)
Get a AppSync FunctionConfiguration
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync FunctionConfiguration |
fn update()
Update a AppSync FunctionConfiguration
fn delete(identifier: string)
Delete a AppSync FunctionConfiguration
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync FunctionConfiguration |
fn sync()
Sync AppSync FunctionConfiguration state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync FunctionConfiguration resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync FunctionConfiguration resource state
@swamp/aws/appsync/graph-qlapiv2026.10.23.1graph_qlapi.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| AdditionalAuthenticationProviders? | array | A list of additional authentication providers for the GraphqlApi API. |
| ApiType? | string | The value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED). |
| AuthenticationType | string | Security configuration for your GraphQL API |
| EnhancedMetricsConfig? | object | Enables and controls the enhanced metrics feature. Enhanced metrics emit granular data on API usage and performance such as AppSync request and error counts, latency, and cache hits/misses. All enhanced metric data is sent to your CloudWatch account, and you can configure the types of data that will be sent. |
| EnvironmentVariables? | record | A map containing the list of resources with their properties and environment variables. |
| IntrospectionConfig? | string | Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. |
| LambdaAuthorizerConfig? | object | A LambdaAuthorizerConfig holds configuration on how to authorize AWS AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time. |
| LogConfig? | object | The Amazon CloudWatch Logs configuration. |
| MergedApiExecutionRoleArn? | string | The AWS Identity and Access Management service role ARN for a merged API. |
| Name | string | The API name |
| OpenIDConnectConfig? | object | The OpenID Connect configuration. |
| OwnerContact? | string | The owner contact information for an API resource. |
| QueryDepthLimit? | number | The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. |
| ResolverCountLimit? | number | The maximum number of resolvers that can be invoked in a single request. |
| Tags? | array | An arbitrary set of tags (key-value pairs) for this GraphQL API. |
| UserPoolConfig? | object | Optional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint. |
| Visibility? | string | Sets the scope of the GraphQL API to public (GLOBAL) or private (PRIVATE). By default, the scope is set to Global if no value is provided. |
| XrayEnabled? | boolean | A flag indicating whether to use AWS X-Ray tracing for this GraphqlApi. |
fn create()
Create a AppSync GraphQLApi
fn get(identifier: string)
Get a AppSync GraphQLApi
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync GraphQLApi |
fn update()
Update a AppSync GraphQLApi
fn delete(identifier: string)
Delete a AppSync GraphQLApi
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync GraphQLApi |
fn sync()
Sync AppSync GraphQLApi state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync GraphQLApi resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync GraphQLApi resource state
@swamp/aws/appsync/resolverv2026.10.23.1resolver.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ApiId | string | The APSYlong GraphQL API to which you want to attach this resolver. |
| CachingConfig? | object | The caching configuration for the resolver. |
| Code? | string | 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. |
| CodeS3Location? | string | The Amazon S3 endpoint. |
| DataSourceName? | string | The resolver data source name. |
| FieldName | string | The GraphQL field on a type that invokes the resolver. |
| Kind? | string | 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. |
| MaxBatchSize? | number | The maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation. |
| PipelineConfig? | object | Functions linked with the pipeline resolver. |
| RequestMappingTemplate? | string | The request mapping template. Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required. |
| RequestMappingTemplateS3Location? | string | The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template. |
| ResponseMappingTemplate? | string | The response mapping template. |
| ResponseMappingTemplateS3Location? | string | The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template. |
| Runtime? | object | Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. |
| SyncConfig? | object | The SyncConfig for a resolver attached to a versioned data source. |
| TypeName | string | The GraphQL type that invokes this resolver. |
| MetricsConfig? | enum | 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. |
fn create()
Create a AppSync Resolver
fn get(identifier: string)
Get a AppSync Resolver
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync Resolver |
fn update()
Update a AppSync Resolver
fn delete(identifier: string)
Delete a AppSync Resolver
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync Resolver |
fn sync()
Sync AppSync Resolver state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync Resolver resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync Resolver resource state
@swamp/aws/appsync/source-api-associationv2026.10.25.1source_api_association.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| SourceApiIdentifier? | string | Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN |
| MergedApiIdentifier? | string | Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN |
| Description? | string | Description of the SourceApiAssociation. |
| SourceApiAssociationConfig? | object | Customized configuration for SourceApiAssociation. |
fn create()
Create a AppSync SourceApiAssociation
fn get(identifier: string)
Get a AppSync SourceApiAssociation
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync SourceApiAssociation |
fn update()
Update a AppSync SourceApiAssociation
fn delete(identifier: string)
Delete a AppSync SourceApiAssociation
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync SourceApiAssociation |
fn sync()
Sync AppSync SourceApiAssociation state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync SourceApiAssociation resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync SourceApiAssociation resource state
@swamp/aws/appsync/typev2026.10.23.1type.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ApiId | string | The API ID. |
| Definition | string | The type definition, in GraphQL Schema Definition Language (SDL) format. |
| Format | enum | The type format: SDL or JSON. |
fn create()
Create a AppSync Type
fn get(identifier: string)
Get a AppSync Type
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync Type |
fn update()
Update a AppSync Type
fn delete(identifier: string)
Delete a AppSync Type
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the AppSync Type |
fn sync()
Sync AppSync Type state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync Type resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— AppSync Type resource state
04Previous Versions
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later(was none)
- Updated: api, api_cache, api_key, channel_namespace, data_source, domain_name, domain_name_api_association, function_configuration, graph_qlapi, resolver, source_api_association, type
2026.10.13.1
- Updated: api, api_cache, api_key, channel_namespace, data_source, domain_name, domain_name_api_association, function_configuration, graph_qlapi, resolver, source_api_association, type
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
- Added: api_cache
Added 1 behaviors
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
2026.09.20.1
05Stats
A
100 / 100
Downloads
36
Archive size
2.4 MB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
06Platforms
07Labels