Delete App Version Resource
resiliencehub_delete_app_version_resource | R Documentation |
Deletes a resource from the Resilience Hub application¶
Description¶
Deletes a resource from the Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the
update_app_version_resource
API. -
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
publish_app_version
API.
Usage¶
resiliencehub_delete_app_version_resource(appArn, awsAccountId,
awsRegion, clientToken, logicalResourceId, physicalResourceId,
resourceName)
Arguments¶
appArn |
[required] Amazon Resource Name (ARN) of the Resilience Hub
application. The format for this ARN is:
arn: |
awsAccountId |
Amazon Web Services account that owns the physical resource. |
awsRegion |
Amazon Web Services region that owns the physical resource. |
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. |
logicalResourceId |
Logical identifier of the resource. |
physicalResourceId |
Physical identifier of the resource. |
resourceName |
Name of the resource. |
Value¶
A list with the following syntax:
list(
appArn = "string",
appVersion = "string",
physicalResource = list(
additionalInfo = list(
list(
"string"
)
),
appComponents = list(
list(
additionalInfo = list(
list(
"string"
)
),
id = "string",
name = "string",
type = "string"
)
),
excluded = TRUE|FALSE,
logicalResourceId = list(
eksSourceName = "string",
identifier = "string",
logicalStackName = "string",
resourceGroupName = "string",
terraformSourceName = "string"
),
parentResourceName = "string",
physicalResourceId = list(
awsAccountId = "string",
awsRegion = "string",
identifier = "string",
type = "Arn"|"Native"
),
resourceName = "string",
resourceType = "string",
sourceType = "AppTemplate"|"Discovered"
)
)
Request syntax¶
svc$delete_app_version_resource(
appArn = "string",
awsAccountId = "string",
awsRegion = "string",
clientToken = "string",
logicalResourceId = list(
eksSourceName = "string",
identifier = "string",
logicalStackName = "string",
resourceGroupName = "string",
terraformSourceName = "string"
),
physicalResourceId = "string",
resourceName = "string"
)