resiliencehub_add_draft_app_version_resource_mappings: Adds the source of resource-maps to the draft version of an...

View source: R/resiliencehub_operations.R

resiliencehub_add_draft_app_version_resource_mappingsR 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.

See https://www.paws-r-sdk.com/docs/resiliencehub_add_draft_app_version_resource_mappings/ for full documentation.

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: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.

resourceMappings

[required] Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.