Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.
See https://www.paws-r-sdk.com/docs/resiliencehub_add_draft_app_version_resource_mappings/ for full documentation.
resiliencehub_add_draft_app_version_resource_mappings(appArn, resourceMappings)
[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 AWS General Reference guide.
[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.