Add Draft App Version Resource Mappings
resiliencehub_add_draft_app_version_resource_mappings | R Documentation |
Adds the source of resource-maps to the draft version of an application¶
Description¶
Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources supported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
Usage¶
resiliencehub_add_draft_app_version_resource_mappings(appArn,
resourceMappings)
Arguments¶
appArn |
[required] Amazon Resource Name (ARN) of the Resilience Hub
application. The format for this ARN is:
arn: |
resourceMappings |
[required] Mappings used to map logical resources from the
template to physical resources. You can use the mapping type
|
Value¶
A list with the following syntax:
list(
appArn = "string",
appVersion = "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$add_draft_app_version_resource_mappings(
appArn = "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"
)
)
)