Skip to content

Create App Version App Component

resiliencehub_create_app_version_app_component R Documentation

Creates a new Application Component in the Resilience Hub application

Description

Creates a new 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_create_app_version_app_component(additionalInfo, appArn,
  clientToken, 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.

clientToken

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.

id

Identifier of the Application Component.

name

[required] Name of the Application Component.

type

[required] 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$create_app_version_app_component(
  additionalInfo = list(
    list(
      "string"
    )
  ),
  appArn = "string",
  clientToken = "string",
  id = "string",
  name = "string",
  type = "string"
)