Skip to content

Update App Version App Component

resiliencehub_update_app_version_app_component R Documentation

Updates an existing Application Component in the Resilience Hub application

Description

Updates an existing Application Component in the Resilience Hub application.

This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the publish_app_version API.

Usage

resiliencehub_update_app_version_app_component(additionalInfo, appArn,
  id, name, type)

Arguments

additionalInfo

Currently, there is no supported additional information for Application Components.

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.

id

[required] Identifier of the Application Component.

name

Name of the Application Component.

type

Type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.

Value

A list with the following syntax:

list(
  appArn = "string",
  appComponent = list(
    additionalInfo = list(
      list(
        "string"
      )
    ),
    id = "string",
    name = "string",
    type = "string"
  ),
  appVersion = "string"
)

Request syntax

svc$update_app_version_app_component(
  additionalInfo = list(
    list(
      "string"
    )
  ),
  appArn = "string",
  id = "string",
  name = "string",
  type = "string"
)