Skip to content

Delete App Input Source

resiliencehub_delete_app_input_source R Documentation

Deletes the input source and all of its imported resources from the Resilience Hub application

Description

Deletes the input source and all of its imported resources from the Resilience Hub application.

Usage

resiliencehub_delete_app_input_source(appArn, clientToken,
  eksSourceClusterNamespace, sourceArn, terraformSource)

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.

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.

eksSourceClusterNamespace

The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application.

sourceArn

The Amazon Resource Name (ARN) of the imported resource you want to remove from the Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

terraformSource

The imported Terraform s3 state file you want to remove from the Resilience Hub application.

Value

A list with the following syntax:

list(
  appArn = "string",
  appInputSource = list(
    eksSourceClusterNamespace = list(
      eksClusterArn = "string",
      namespace = "string"
    ),
    importType = "CfnStack"|"Resource"|"AppRegistryApp"|"ResourceGroup"|"Terraform"|"EKS",
    resourceCount = 123,
    sourceArn = "string",
    sourceName = "string",
    terraformSource = list(
      s3StateFileUrl = "string"
    )
  )
)

Request syntax

svc$delete_app_input_source(
  appArn = "string",
  clientToken = "string",
  eksSourceClusterNamespace = list(
    eksClusterArn = "string",
    namespace = "string"
  ),
  sourceArn = "string",
  terraformSource = list(
    s3StateFileUrl = "string"
  )
)