Adds an application that is created from a resource group¶
Description¶
Adds an application that is created from a resource group.
Usage¶
applicationinsights_create_application(ResourceGroupName,
OpsCenterEnabled, CWEMonitorEnabled, OpsItemSNSTopicArn,
SNSNotificationArn, Tags, AutoConfigEnabled, AutoCreate, GroupingType,
AttachMissingPermission)
Arguments¶
-
ResourceGroupNameThe name of the resource group.
-
OpsCenterEnabledWhen set to
true, creates opsItems for any problems detected on an application. -
CWEMonitorEnabledIndicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated,failed deployment, and others. -
OpsItemSNSTopicArnThe SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
-
SNSNotificationArnThe SNS notification topic ARN.
-
TagsList of tags to add to the application. tag key (
Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters. -
AutoConfigEnabledIndicates whether Application Insights automatically configures unmonitored resources in the resource group.
-
AutoCreateConfigures all of the resources in the resource group by applying the recommended configurations.
-
GroupingTypeApplication Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to
ACCOUNT_BASED. -
AttachMissingPermissionIf 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$create_application(
ResourceGroupName = "string",
OpsCenterEnabled = TRUE|FALSE,
CWEMonitorEnabled = TRUE|FALSE,
OpsItemSNSTopicArn = "string",
SNSNotificationArn = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
AutoConfigEnabled = TRUE|FALSE,
AutoCreate = TRUE|FALSE,
GroupingType = "ACCOUNT_BASED",
AttachMissingPermission = TRUE|FALSE
)