Skip to content

List App Version Resource Mappings

resiliencehub_list_app_version_resource_mappings R Documentation

Lists how the resources in an application version are mapped/sourced from

Description

Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.

Usage

resiliencehub_list_app_version_resource_mappings(appArn, appVersion,
  maxResults, nextToken)

Arguments

appArn

[required] Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

appVersion

[required] The version of the application.

maxResults

Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

nextToken

Null, or the token from a previous call to get the next set of results.

Value

A list with the following syntax:

list(
  nextToken = "string",
  resourceMappings = list(
    list(
      appRegistryAppName = "string",
      eksSourceName = "string",
      logicalStackName = "string",
      mappingType = "CfnStack"|"Resource"|"AppRegistryApp"|"ResourceGroup"|"Terraform"|"EKS",
      physicalResourceId = list(
        awsAccountId = "string",
        awsRegion = "string",
        identifier = "string",
        type = "Arn"|"Native"
      ),
      resourceGroupName = "string",
      resourceName = "string",
      terraformSourceName = "string"
    )
  )
)

Request syntax

svc$list_app_version_resource_mappings(
  appArn = "string",
  appVersion = "string",
  maxResults = 123,
  nextToken = "string"
)