Skip to content

Amplify

CloudMock emulates AWS Amplify, supporting app, branch, domain association, webhook, and job management operations.

OperationStatusNotes
CreateAppSupportedCreates an Amplify app
GetAppSupportedReturns app details
ListAppsSupportedLists all apps
UpdateAppSupportedUpdates app configuration
DeleteAppSupportedDeletes an app
CreateBranchSupportedCreates a branch for an app
GetBranchSupportedReturns branch details
ListBranchesSupportedLists branches for an app
UpdateBranchSupportedUpdates branch configuration
DeleteBranchSupportedDeletes a branch
CreateDomainAssociationSupportedCreates a domain association
GetDomainAssociationSupportedReturns domain association details
ListDomainAssociationsSupportedLists domain associations
UpdateDomainAssociationSupportedUpdates a domain association
DeleteDomainAssociationSupportedDeletes a domain association
CreateWebhookSupportedCreates a webhook
GetWebhookSupportedReturns webhook details
ListWebhooksSupportedLists webhooks
UpdateWebhookSupportedUpdates a webhook
DeleteWebhookSupportedDeletes a webhook
StartJobSupportedStarts a deployment job
GetJobSupportedReturns job details
ListJobsSupportedLists jobs
StopJobSupportedStops a running job
TagResourceSupportedAdds tags to a resource
UntagResourceSupportedRemoves tags from a resource
ListTagsForResourceSupportedLists tags for a resource
import { AmplifyClient, CreateAppCommand } from '@aws-sdk/client-amplify';
const client = new AmplifyClient({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
const { app } = await client.send(new CreateAppCommand({
name: 'my-app',
repository: 'https://github.com/example/repo',
}));
console.log(app.appId);
import boto3
client = boto3.client('amplify',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
response = client.create_app(
name='my-app',
repository='https://github.com/example/repo')
print(response['app']['appId'])
cloudmock.yml
services:
amplify:
enabled: true
  • No actual build or deployment occurs when starting a job
  • Domain associations are stored but DNS is not configured
  • Webhooks are stored but do not trigger real builds