

# Using code samples to perform common AWS AppConfig tasks
<a name="appconfig-code-samples"></a>

This section includes code samples for programmatically performing common AWS AppConfig actions. We recommend you use these samples with the [Java](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/appconfig/package-summary.html), [Python](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appconfig.html), and [JavaScript](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/AppConfig.html) SDKs to perform the actions in a test environment. This section includes a code sample for cleaning up your test environment after you finish. 

**Topics**
+ [Creating or updating a freeform configuration stored in the hosted configuration store](appconfig-code-samples-creating-freeform.md)
+ [Creating a configuration profile for a secret stored in Secrets Manager](appconfig-code-samples-secrets-manager.md)
+ [Deploying a configuration profile](appconfig-code-samples-deploying.md)
+ [Using AWS AppConfig Agent to read a freeform configuration profile](appconfig-code-samples-agent-read-configuration.md)
+ [Using AWS AppConfig Agent to read a specific feature flag](appconfig-code-samples-agent-read-feature-flag.md)
+ [Using AWS AppConfig Agent to retrieve a feature flag with variants](appconfig-code-samples-agent-read-feature-flag-with-variants.md)
+ [Using the GetLatestConfiguration API action to read a freeform configuration profile](appconfig-code-samples-using-API-read-configuration.md)
+ [Cleaning up your environment](appconfig-code-samples-clean-up.md)