Skip to content

Updates the application

Description

Updates the application.

Usage

applicationinsights_update_application(ResourceGroupName,
  OpsCenterEnabled, CWEMonitorEnabled, OpsItemSNSTopicArn,
  SNSNotificationArn, RemoveSNSTopic, AutoConfigEnabled,
  AttachMissingPermission)

Arguments

  • ResourceGroupName

    [required] The name of the resource group.

  • OpsCenterEnabled

    When set to true, creates opsItems for any problems detected on an application.

  • CWEMonitorEnabled

    Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated, failed deployment, and others.

  • OpsItemSNSTopicArn

    The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.

  • SNSNotificationArn

    The SNS topic ARN. Allows you to receive SNS notifications for updates and issues with an application.

  • RemoveSNSTopic

    Disassociates the SNS topic from the opsItem created for detected problems.

  • AutoConfigEnabled

    Turns auto-configuration on or off.

  • AttachMissingPermission

    If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

Value

A list with the following syntax:

list(
  ApplicationInfo = list(
    AccountId = "string",
    ResourceGroupName = "string",
    LifeCycle = "string",
    OpsItemSNSTopicArn = "string",
    SNSNotificationArn = "string",
    OpsCenterEnabled = TRUE|FALSE,
    CWEMonitorEnabled = TRUE|FALSE,
    Remarks = "string",
    AutoConfigEnabled = TRUE|FALSE,
    DiscoveryType = "RESOURCE_GROUP_BASED"|"ACCOUNT_BASED",
    AttachMissingPermission = TRUE|FALSE
  )
)

Request syntax

svc$update_application(
  ResourceGroupName = "string",
  OpsCenterEnabled = TRUE|FALSE,
  CWEMonitorEnabled = TRUE|FALSE,
  OpsItemSNSTopicArn = "string",
  SNSNotificationArn = "string",
  RemoveSNSTopic = TRUE|FALSE,
  AutoConfigEnabled = TRUE|FALSE,
  AttachMissingPermission = TRUE|FALSE
)