Skip to content

aws.migrationhubstrategy.list_application_components

Example SQL Queries

SELECT * FROM
aws.migrationhubstrategy.list_application_components;

Description

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

Table Definition

Column NameColumn Data Type
application_component_criteria Input Column

Criteria for filtering the list of application components.

VARCHAR
filter_value Input Column

Specify the value based on the application component criteria type. For example, if applicationComponentCriteria is set to SERVER_ID and filterValue is set to server1, then ListApplicationComponents returns all the application components running on server1.

VARCHAR
group_id_filter Input Column

The group ID specified in to filter on.

STRUCT(
"name" VARCHAR,
"value" VARCHAR
)[]
Show child fields
group_id_filter[]
Show child fields
group_id_filter[].name

The key of the specific import group.

group_id_filter[].value

The value of the specific import group.

sort Input Column

Specifies whether to sort by ascending (ASC) or descending (DESC) order.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

analysis_status

The status of analysis, if the application component has source code or an associated database.

VARCHAR
antipattern_report_s3_object

The S3 bucket name and the Amazon S3 key name for the anti-pattern report.

STRUCT(
"s3_bucket" VARCHAR,
"s3key" VARCHAR
)
Show child fields
antipattern_report_s3_object.s3_bucket

The S3 bucket name.

antipattern_report_s3_object.s3key

The Amazon S3 key name.

antipattern_report_status

The status of the anti-pattern report generation.

VARCHAR
antipattern_report_status_message

The status message for the anti-pattern.

VARCHAR
app_type

The type of application component.

VARCHAR
app_unit_error

The error in the analysis of the source code or database.

STRUCT(
"app_unit_error_category" VARCHAR
)
Show child fields
app_unit_error.app_unit_error_category

The category of the error.

associated_server_id

The ID of the server that the application component is running on.

VARCHAR
database_config_detail

Configuration details for the database associated with the application component.

STRUCT(
"secret_name" VARCHAR
)
Show child fields
database_config_detail.secret_name

AWS Secrets Manager key that holds the credentials that you use to connect to a database.

id

The ID of the application component.

VARCHAR
inclusion_status

Indicates whether the application component has been included for server recommendation or not.

VARCHAR
last_analyzed_timestamp

The timestamp of when the application component was assessed.

TIMESTAMP_S
list_antipattern_severity_summary

A list of anti-pattern severity summaries.

STRUCT(
"count" BIGINT,
"severity" VARCHAR
)[]
Show child fields
list_antipattern_severity_summary[]
Show child fields
list_antipattern_severity_summary[].count

Contains the count of anti-patterns.

list_antipattern_severity_summary[].severity

Contains the severity of anti-patterns.

more_server_association_exists

Set to true if the application component is running on multiple servers.

BOOLEAN
name

The name of application component.

VARCHAR
os_driver

OS driver.

VARCHAR
os_version

OS version.

VARCHAR
recommendation_set

The top recommendation set for the application component.

STRUCT(
"strategy" VARCHAR,
"target_destination" VARCHAR,
"transformation_tool" STRUCT(
"description" VARCHAR,
"name" VARCHAR,
"tranformation_tool_installation_link" VARCHAR
)
)
Show child fields
recommendation_set.strategy

The recommended strategy.

recommendation_set.target_destination

The recommended target destination.

recommendation_set.transformation_tool

The target destination for the recommendation set.

Show child fields
recommendation_set.transformation_tool.description

Description of the tool.

recommendation_set.transformation_tool.name

Name of the tool.

recommendation_set.transformation_tool.tranformation_tool_installation_link

URL for installing the tool.

resource_sub_type

The application component subtype.

VARCHAR
result_list

A list of the analysis results.

STRUCT(
"analysis_status" STRUCT(
"runtime_analysis_status" VARCHAR,
"src_code_or_db_analysis_status" VARCHAR
),
"analysis_type" VARCHAR,
"antipattern_report_result_list" STRUCT(
"analyzer_name" STRUCT(
"binary_analyzer_name" VARCHAR,
"run_time_analyzer_name" VARCHAR,
"source_code_analyzer_name" VARCHAR
),
"anti_pattern_report_s3_object" STRUCT(
"s3_bucket" VARCHAR,
"s3key" VARCHAR
),
"antipattern_report_status" VARCHAR,
"antipattern_report_status_message" VARCHAR
)[],
"status_message" VARCHAR
)[]
Show child fields
result_list[]
Show child fields
result_list[].analysis_status

The error in server analysis.

Show child fields
result_list[].analysis_status.runtime_analysis_status

The status of the analysis.

result_list[].analysis_status.src_code_or_db_analysis_status

The status of the source code or database analysis.

result_list[].analysis_type

The error in server analysis.

result_list[].antipattern_report_result_list[]
Show child fields
result_list[].antipattern_report_result_list[].analyzer_name

The analyzer name.

Show child fields
result_list[].antipattern_report_result_list[].analyzer_name.binary_analyzer_name

The binary analyzer names.

result_list[].antipattern_report_result_list[].analyzer_name.run_time_analyzer_name

The assessment analyzer names.

result_list[].antipattern_report_result_list[].analyzer_name.source_code_analyzer_name

The source code analyzer names.

result_list[].antipattern_report_result_list[].anti_pattern_report_s3_object

Contains the S3 bucket name and the Amazon S3 key name.

Show child fields
result_list[].antipattern_report_result_list[].anti_pattern_report_s3_object.s3_bucket

The S3 bucket name.

result_list[].antipattern_report_result_list[].anti_pattern_report_s3_object.s3key

The Amazon S3 key name.

result_list[].antipattern_report_result_list[].antipattern_report_status

The status of the anti-pattern report generation.

result_list[].antipattern_report_result_list[].antipattern_report_status_message

The status message for the anti-pattern.

result_list[].status_message

The error in server analysis.

runtime_status

The status of the application unit.

VARCHAR
runtime_status_message

The status message for the application unit.

VARCHAR
source_code_repositories

Details about the source code repository associated with the application component.

STRUCT(
"branch" VARCHAR,
"project_name" VARCHAR,
"repository" VARCHAR,
"version_control_type" VARCHAR
)[]
Show child fields
source_code_repositories[]
Show child fields
source_code_repositories[].branch

The branch of the source code.

source_code_repositories[].project_name

The name of the project.

source_code_repositories[].repository

The repository name for the source code.

source_code_repositories[].version_control_type

The type of repository to use for the source code.

status_message

A detailed description of the analysis status and any failure message.

VARCHAR