---
title: "POST /update-applicationcomponent-config/"
method: POST
path: "/update-applicationcomponent-config/"
---

# POST /update-applicationcomponent-config/

`POST /update-applicationcomponent-config/`

Updates the configuration of an application component.

## Request body

- object
  - `appType` 'DotNetFramework' | 'Java' | 'SQLServer' | 'IIS' | 'Oracle' | 'Other' | 'Tomcat' | 'JBoss' | 'Spring' | 'Mongo DB' | 'DB2' | 'Maria DB' | 'MySQL' | 'Sybase' | 'PostgreSQLServer' | 'Cassandra' | 'IBM WebSphere' | 'Oracle WebLogic' | 'Visual Basic' | 'Unknown' | 'DotnetCore' | 'Dotnet' — The type of known component.
  - `applicationComponentId` string, required — The ID of the application component. The ID is unique within an AWS account.
  - `configureOnly` boolean — Update the configuration request of an application component. If it is set to true, the source code and/or database credentials are updated. If it is set to false, the source code and/or database credentials are updated and an analysis is initiated.
  - `inclusionStatus` 'excludeFromAssessment' | 'includeInAssessment' — Indicates whether the application component has been included for server recommendation or not.
  - `secretsManagerKey` string, password — Database credentials.
  - `sourceCodeList` SourceCode[] — The list of source code configurations to update for the application component.
    - `location` string — The repository name for the source code.
    - `projectName` string — The name of the project.
    - `sourceVersion` string — The branch of the source code.
    - `versionControl` 'GITHUB' | 'GITHUB_ENTERPRISE' | 'AZURE_DEVOPS_GIT' — The type of repository to use for the source code.
  - `strategyOption` object — Information about all the available strategy options for migrating and modernizing an application component.
    - `isPreferred` boolean — Indicates if a specific strategy is preferred for the application component.
    - `strategy` 'Rehost' | 'Retirement' | 'Refactor' | 'Replatform' | 'Retain' | 'Relocate' | 'Repurchase' — Type of transformation. For example, Rehost, Replatform, and so on.
    - `targetDestination` 'None specified' | 'AWS Elastic BeanStalk' | 'AWS Fargate' | 'Amazon Elastic Cloud Compute (EC2)' | 'Amazon Elastic Container Service (ECS)' | 'Amazon Elastic Kubernetes Service (EKS)' | 'Aurora MySQL' | 'Aurora PostgreSQL' | 'Amazon Relational Database Service on MySQL' | 'Amazon Relational Database Service on PostgreSQL' | 'Amazon DocumentDB' | 'Amazon DynamoDB' | 'Amazon Relational Database Service' | 'Babelfish for Aurora PostgreSQL' — Destination information about where the application component can migrate to. For example, <code>EC2</code>, <code>ECS</code>, and so on.
    - `toolName` 'App2Container' | 'Porting Assistant For .NET' | 'End of Support Migration' | 'Windows Web Application Migration Assistant' | 'Application Migration Service' | 'Strategy Recommendation Support' | 'In Place Operating System Upgrade' | 'Schema Conversion Tool' | 'Database Migration Service' | 'Native SQL Server Backup/Restore' — The name of the tool that can be used to transform an application component using this strategy.

## Response `200`

Success

- UpdateApplicationComponentConfigResponse

## Other responses

- `480` — ResourceNotFoundException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — InternalServerException

---

[API](https://skmtc.net/aws/apis/migrationhubstrategy.md) · [All operations](https://skmtc.net/aws/apis/migrationhubstrategy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/migrationhubstrategy/versions/5fde79aed042/schema)
