Skip to content

AppConfig

CloudMock emulates AWS AppConfig, supporting application, environment, configuration profile, deployment strategy, and deployment management.

OperationStatusNotes
CreateApplicationSupportedCreates an application
GetApplicationSupportedReturns application details
ListApplicationsSupportedLists all applications
UpdateApplicationSupportedUpdates an application
DeleteApplicationSupportedDeletes an application
CreateEnvironmentSupportedCreates an environment
GetEnvironmentSupportedReturns environment details
ListEnvironmentsSupportedLists environments for an app
UpdateEnvironmentSupportedUpdates an environment
DeleteEnvironmentSupportedDeletes an environment
CreateConfigurationProfileSupportedCreates a configuration profile
GetConfigurationProfileSupportedReturns configuration profile details
ListConfigurationProfilesSupportedLists configuration profiles
DeleteConfigurationProfileSupportedDeletes a configuration profile
CreateDeploymentStrategySupportedCreates a deployment strategy
GetDeploymentStrategySupportedReturns deployment strategy details
ListDeploymentStrategiesSupportedLists deployment strategies
DeleteDeploymentStrategySupportedDeletes a deployment strategy
StartDeploymentSupportedStarts a configuration deployment
GetDeploymentSupportedReturns deployment details
ListDeploymentsSupportedLists deployments
StopDeploymentSupportedStops a running deployment
TagResourceSupportedAdds tags to a resource
UntagResourceSupportedRemoves tags from a resource
ListTagsForResourceSupportedLists tags for a resource
import { AppConfigClient, CreateApplicationCommand } from '@aws-sdk/client-appconfig';
const client = new AppConfigClient({
endpoint: 'http://localhost:4566',
region: 'us-east-1',
credentials: { accessKeyId: 'test', secretAccessKey: 'test' },
});
const app = await client.send(new CreateApplicationCommand({
Name: 'my-app',
}));
console.log(app.Id);
import boto3
client = boto3.client('appconfig',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
response = client.create_application(Name='my-app')
print(response['Id'])
cloudmock.yml
services:
appconfig:
enabled: true
  • Deployments complete immediately rather than following the deployment strategy timing
  • Configuration validation is not performed
  • No actual configuration delivery occurs