v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1463330397.6 KB

Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.

  • This action has no effect outside Resilience Hub.

  • This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

  • To update application version with new physicalResourceID, you must call ResolveAppVersionResources API.

post/create-app-version-resource

Request body

additionalInfoobject

Currently, there is no supported additional information for resources.

appArnstring required

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.

appComponentsString255[] required

List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.

awsAccountIdstring

Amazon Web Services account that owns the physical resource.

awsRegionstring

Amazon Web Services region that owns the physical resource.

clientTokenstring

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

physicalResourceIdstring required

Physical identifier of the resource.

resourceNamestring

Name of the resource.

resourceTypestring required

Type of resource.

Response

Success

appArnstring required

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.

appVersionstring required

Resilience Hub application version.