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:
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. -
assessmentScheduleAssessment execution schedule with 'Daily' or 'Disabled' values.
-
clearResiliencyPolicyArnSpecifies if the resiliency policy ARN should be cleared.
-
descriptionThe optional description for an app.
-
eventSubscriptionsThe 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.
-
permissionModelDefines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.
-
policyArnAmazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
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"
)