Skip to main content

application_components

Creates, updates, deletes, gets or lists an application_components resource.

Overview

Nameapplication_components
TypeResource
Idaws.migrationhubstrategy.application_components

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the application component. (pattern: <code>^[0-9a-b]+</code>)
namestringThe name of application component.
analysis_statusstringThe status of analysis, if the application component has source code or an associated database. (ANALYSIS_TO_BE_SCHEDULED, ANALYSIS_STARTED, ANALYSIS_SUCCESS, ANALYSIS_FAILED, ANALYSIS_PARTIAL_SUCCESS, UNCONFIGURED, CONFIGURED)
antipattern_report_s3_objectobjectThe S3 bucket name and the Amazon S3 key name for the anti-pattern report.
antipattern_report_statusstringThe status of the anti-pattern report generation. (FAILED, IN_PROGRESS, SUCCESS)
antipattern_report_status_messagestringThe status message for the anti-pattern. (pattern: <code>.\S.</code>)
app_typestringThe type of application component. (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)
app_unit_errorobjectThe error in the analysis of the source code or database.
associated_server_idstringThe ID of the server that the application component is running on. (pattern: <code>.\S.</code>)
database_config_detailobjectConfiguration details for the database associated with the application component.
inclusion_statusstringIndicates whether the application component has been included for server recommendation or not. (excludeFromAssessment, includeInAssessment)
last_analyzed_timestampstring (date-time)The timestamp of when the application component was assessed.
list_antipattern_severity_summaryarrayA list of anti-pattern severity summaries.
more_server_association_existsbooleanSet to true if the application component is running on multiple servers.
os_driverstringOS driver. (pattern: <code>.\S.</code>)
os_versionstringOS version. (pattern: <code>.\S.</code>)
recommendation_setobjectThe top recommendation set for the application component.
resource_sub_typestringThe application component subtype. (Database, Process, DatabaseProcess)
result_listarrayA list of the analysis results.
runtime_statusstringThe status of the application unit. (ANALYSIS_TO_BE_SCHEDULED, ANALYSIS_STARTED, ANALYSIS_SUCCESS, ANALYSIS_FAILED)
runtime_status_messagestringThe status message for the application unit. (pattern: <code>.\S.</code>)
source_code_repositoriesarrayDetails about the source code repository associated with the application component.
status_messagestringA detailed description of the analysis status and any failure message. (pattern: <code>.\S.</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_application_componentsselectregionRetrieves a list of all the application components (processes).
update_application_component_configupdateregion, applicationComponentIdUpdates the configuration of an application component.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves a list of all the application components (processes).

SELECT
id,
name,
analysis_status,
antipattern_report_s3_object,
antipattern_report_status,
antipattern_report_status_message,
app_type,
app_unit_error,
associated_server_id,
database_config_detail,
inclusion_status,
last_analyzed_timestamp,
list_antipattern_severity_summary,
more_server_association_exists,
os_driver,
os_version,
recommendation_set,
resource_sub_type,
result_list,
runtime_status,
runtime_status_message,
source_code_repositories,
status_message
FROM aws.migrationhubstrategy.application_components
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates the configuration of an application component.

UPDATE aws.migrationhubstrategy.application_components
SET
appType = '{{ appType }}',
applicationComponentId = '{{ applicationComponentId }}',
configureOnly = {{ configureOnly }},
inclusionStatus = '{{ inclusionStatus }}',
secretsManagerKey = '{{ secretsManagerKey }}',
sourceCodeList = '{{ sourceCodeList }}',
strategyOption = '{{ strategyOption }}'
WHERE
region = '{{ region }}' --required
AND applicationComponentId = '{{ applicationComponentId }}' --required;