Skip to main content

Aws/appsync

@swamp/aws/appsyncv2026.10.25.1· AGPL-3.0-or-later· 1d agoBEHAVIORS
01README

AWS APPSYNC infrastructure models

02Release Notes
  • Updated: source_api_association
03Behaviors12
@swamp/aws/appsync/apiv2026.10.23.1api.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
NamestringThe name of the AppSync API.
OwnerContact?stringThe owner contact information for an API resource.
EventConfig?objectThe configuration for an Event Api
Tags?arrayAn 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
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync Api
fn update()
Update a AppSync Api
fn delete(identifier: string)
Delete a AppSync Api
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync Api
fn sync()
Sync AppSync Api state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync Api resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ApiCachingBehaviorstringCaching behavior, such as FULL_REQUEST_CACHING, PER_RESOLVER_CACHING, or OPERATION_LEVEL_CACHING
ApiIdstringUnique AWS AppSync GraphQL API identifier.
AtRestEncryptionEnabled?booleanAt-rest encryption flag for cache. You cannot update this setting after creation.
HealthMetricsConfig?stringControls how cache health metrics will be emitted to CloudWatch. Cache health metrics include NetworkBandwidthOutAllowanceExceeded and EngineCPUUtilization
TransitEncryptionEnabled?booleanTransit encryption flag when connecting to cache. You cannot update this setting after creation.
TtlnumberTTL in seconds for cache entries. Valid values are 1-3600.
TypestringThe cache instance type, such as SMALL, LARGE and LARGE_4X
fn create()
Create a AppSync ApiCache
fn get(identifier: string)
Get a AppSync ApiCache
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync ApiCache
fn update()
Update a AppSync ApiCache
fn delete(identifier: string)
Delete a AppSync ApiCache
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync ApiCache
fn sync()
Sync AppSync ApiCache state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync ApiCache resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Description?stringUnique description of your API key.
Expires?numberThe time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
ApiIdstringUnique AWS AppSync GraphQL API ID for this API key.
fn create()
Create a AppSync ApiKey
fn get(identifier: string)
Get a AppSync ApiKey
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync ApiKey
fn update()
Update a AppSync ApiKey
fn delete(identifier: string)
Delete a AppSync ApiKey
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync ApiKey
fn sync()
Sync AppSync ApiKey state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync ApiKey resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ApiIdstringAppSync Api Id that this Channel Namespace belongs to.
NamestringNamespace indentifier.
SubscribeAuthModes?arrayList of AuthModes supported for Subscribe operations.
PublishAuthModes?arrayList of AuthModes supported for Publish operations.
CodeHandlers?stringString of APPSYNC_JS code to be used by the handlers.
CodeS3Location?stringThe Amazon S3 endpoint where the code is located.
Tags?arrayAn 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
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync ChannelNamespace
fn update()
Update a AppSync ChannelNamespace
fn delete(identifier: string)
Delete a AppSync ChannelNamespace
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync ChannelNamespace
fn sync()
Sync AppSync ChannelNamespace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync ChannelNamespace resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ApiIdstringUnique AWS AppSync GraphQL API identifier where this data source will be created.
Description?stringThe description of the data source.
DynamoDBConfig?objectAWS Region and TableName for an Amazon DynamoDB table in your account.
ElasticsearchConfig?objectAWS 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?objectARN for the EventBridge bus.
HttpConfig?objectEndpoints for an HTTP data source.
LambdaConfig?objectAn 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.
NamestringFriendly name for you to identify your AppSync data source after creation.
OpenSearchServiceConfig?objectAWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
RelationalDatabaseConfig?objectRelational Database configuration of the relational database data source.
ServiceRoleArn?stringThe AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.
TypestringThe type of the data source.
MetricsConfig?enum
fn create()
Create a AppSync DataSource
fn get(identifier: string)
Get a AppSync DataSource
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync DataSource
fn update()
Update a AppSync DataSource
fn delete(identifier: string)
Delete a AppSync DataSource
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync DataSource
fn sync()
Sync AppSync DataSource state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync DataSource resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
DomainNamestring
Description?string
CertificateArnstring
Tags?arrayAn 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
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync DomainName
fn update()
Update a AppSync DomainName
fn delete(identifier: string)
Delete a AppSync DomainName
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync DomainName
fn sync()
Sync AppSync DomainName state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync DomainName resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
DomainNamestring
ApiIdstring
fn create()
Create a AppSync DomainNameApiAssociation
fn get(identifier: string)
Get a AppSync DomainNameApiAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync DomainNameApiAssociation
fn update()
Update a AppSync DomainNameApiAssociation
fn delete(identifier: string)
Delete a AppSync DomainNameApiAssociation
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ApiIdstringThe AWS AppSync GraphQL API that you want to attach using this function.
Code?stringThe 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?stringThe Amazon S3 endpoint (where the code is located??).
DataSourceNamestringThe name of data source this function will attach.
Description?stringThe function description.
FunctionVersion?stringThe version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
MaxBatchSize?numberThe maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.
NamestringThe name of the function.
RequestMappingTemplate?stringThe Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
RequestMappingTemplateS3Location?stringDescribes 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?stringThe Function response mapping template.
ResponseMappingTemplateS3Location?stringThe 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?objectDescribes 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?objectDescribes 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
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync FunctionConfiguration
fn update()
Update a AppSync FunctionConfiguration
fn delete(identifier: string)
Delete a AppSync FunctionConfiguration
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync FunctionConfiguration
fn sync()
Sync AppSync FunctionConfiguration state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync FunctionConfiguration resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
AdditionalAuthenticationProviders?arrayA list of additional authentication providers for the GraphqlApi API.
ApiType?stringThe value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED).
AuthenticationTypestringSecurity configuration for your GraphQL API
EnhancedMetricsConfig?objectEnables 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?recordA map containing the list of resources with their properties and environment variables.
IntrospectionConfig?stringSets 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?objectA 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?objectThe Amazon CloudWatch Logs configuration.
MergedApiExecutionRoleArn?stringThe AWS Identity and Access Management service role ARN for a merged API.
NamestringThe API name
OpenIDConnectConfig?objectThe OpenID Connect configuration.
OwnerContact?stringThe owner contact information for an API resource.
QueryDepthLimit?numberThe 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?numberThe maximum number of resolvers that can be invoked in a single request.
Tags?arrayAn arbitrary set of tags (key-value pairs) for this GraphQL API.
UserPoolConfig?objectOptional authorization configuration for using Amazon Cognito user pools with your GraphQL endpoint.
Visibility?stringSets 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?booleanA 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
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync GraphQLApi
fn update()
Update a AppSync GraphQLApi
fn delete(identifier: string)
Delete a AppSync GraphQLApi
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync GraphQLApi
fn sync()
Sync AppSync GraphQLApi state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync GraphQLApi resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ApiIdstringThe APSYlong GraphQL API to which you want to attach this resolver.
CachingConfig?objectThe caching configuration for the resolver.
Code?stringThe 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?stringThe Amazon S3 endpoint.
DataSourceName?stringThe resolver data source name.
FieldNamestringThe GraphQL field on a type that invokes the resolver.
Kind?stringThe 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?numberThe maximum number of resolver request inputs that will be sent to a single LAMlong function in a BatchInvoke operation.
PipelineConfig?objectFunctions linked with the pipeline resolver.
RequestMappingTemplate?stringThe 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?stringThe 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?stringThe response mapping template.
ResponseMappingTemplateS3Location?stringThe 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?objectDescribes 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?objectThe SyncConfig for a resolver attached to a versioned data source.
TypeNamestringThe GraphQL type that invokes this resolver.
MetricsConfig?enumEnables 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
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync Resolver
fn update()
Update a AppSync Resolver
fn delete(identifier: string)
Delete a AppSync Resolver
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync Resolver
fn sync()
Sync AppSync Resolver state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync Resolver resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
SourceApiIdentifier?stringIdentifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
MergedApiIdentifier?stringIdentifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
Description?stringDescription of the SourceApiAssociation.
SourceApiAssociationConfig?objectCustomized configuration for SourceApiAssociation.
fn create()
Create a AppSync SourceApiAssociation
fn get(identifier: string)
Get a AppSync SourceApiAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync SourceApiAssociation
fn update()
Update a AppSync SourceApiAssociation
fn delete(identifier: string)
Delete a AppSync SourceApiAssociation
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync SourceApiAssociation
fn sync()
Sync AppSync SourceApiAssociation state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync SourceApiAssociation resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ApiIdstringThe API ID.
DefinitionstringThe type definition, in GraphQL Schema Definition Language (SDL) format.
FormatenumThe type format: SDL or JSON.
fn create()
Create a AppSync Type
fn get(identifier: string)
Get a AppSync Type
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync Type
fn update()
Update a AppSync Type
fn delete(identifier: string)
Delete a AppSync Type
ArgumentTypeDescription
identifierstringThe primary identifier of the AppSync Type
fn sync()
Sync AppSync Type state from AWS
fn list(maxPages?: number, resourceModel?: string)
List AppSync Type resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— AppSync Type resource state
04Previous Versions19
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