Update App
resiliencehub_update_app | R Documentation |
Updates an application¶
Description¶
Updates an application.
Usage¶
resiliencehub_update_app(appArn, assessmentSchedule,
clearResiliencyPolicyArn, description, eventSubscriptions,
permissionModel, policyArn)
Arguments¶
appArn |
[required] Amazon Resource Name (ARN) of the Resilience Hub
application. The format for this ARN is:
arn: |
assessmentSchedule |
Assessment execution schedule with 'Daily' or 'Disabled' values. |
clearResiliencyPolicyArn |
Specifies if the resiliency policy ARN should be cleared. |
description |
The optional description for an app. |
eventSubscriptions |
The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events. |
permissionModel |
Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment. |
policyArn |
Amazon Resource Name (ARN) of the resiliency policy. The format
for this ARN is:
arn: |
Value¶
A list with the following syntax:
list(
app = list(
appArn = "string",
assessmentSchedule = "Disabled"|"Daily",
awsApplicationArn = "string",
complianceStatus = "PolicyBreached"|"PolicyMet"|"NotAssessed"|"ChangesDetected"|"NotApplicable"|"MissingPolicy",
creationTime = as.POSIXct(
"2015-01-01"
),
description = "string",
driftStatus = "NotChecked"|"NotDetected"|"Detected",
eventSubscriptions = list(
list(
eventType = "ScheduledAssessmentFailure"|"DriftDetected",
name = "string",
snsTopicArn = "string"
)
),
lastAppComplianceEvaluationTime = as.POSIXct(
"2015-01-01"
),
lastDriftEvaluationTime = as.POSIXct(
"2015-01-01"
),
lastResiliencyScoreEvaluationTime = as.POSIXct(
"2015-01-01"
),
name = "string",
permissionModel = list(
crossAccountRoleArns = list(
"string"
),
invokerRoleName = "string",
type = "LegacyIAMUser"|"RoleBased"
),
policyArn = "string",
resiliencyScore = 123.0,
rpoInSecs = 123,
rtoInSecs = 123,
status = "Active"|"Deleting",
tags = list(
"string"
)
)
)
Request syntax¶
svc$update_app(
appArn = "string",
assessmentSchedule = "Disabled"|"Daily",
clearResiliencyPolicyArn = TRUE|FALSE,
description = "string",
eventSubscriptions = list(
list(
eventType = "ScheduledAssessmentFailure"|"DriftDetected",
name = "string",
snsTopicArn = "string"
)
),
permissionModel = list(
crossAccountRoleArns = list(
"string"
),
invokerRoleName = "string",
type = "LegacyIAMUser"|"RoleBased"
),
policyArn = "string"
)