Application

class Application : KotlinCustomResource

Provides a ApplicationInsights Application resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.resourcegroups.Group;
import com.pulumi.aws.resourcegroups.GroupArgs;
import com.pulumi.aws.resourcegroups.inputs.GroupResourceQueryArgs;
import com.pulumi.aws.applicationinsights.Application;
import com.pulumi.aws.applicationinsights.ApplicationArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleGroup = new Group("exampleGroup", GroupArgs.builder()
.resourceQuery(GroupResourceQueryArgs.builder()
.query(serializeJson(
jsonObject(
jsonProperty("ResourceTypeFilters", jsonArray("AWS::EC2::Instance")),
jsonProperty("TagFilters", jsonArray(jsonObject(
jsonProperty("Key", "Stage"),
jsonProperty("Values", jsonArray("Test"))
)))
)))
.build())
.build());
var exampleApplication = new Application("exampleApplication", ApplicationArgs.builder()
.resourceGroupName(exampleGroup.name())
.build());
}
}

Import

ApplicationInsights Applications can be imported using the resource_group_name, e.g.,

$ pulumi import aws:applicationinsights/application:Application some some-application

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the Application.

Link copied to clipboard

Indicates whether Application Insights automatically configures unmonitored resources in the resource group.

Link copied to clipboard
val autoCreate: Output<Boolean>?

Configures all of the resources in the resource group by applying the recommended configurations.

Link copied to clipboard

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

Link copied to clipboard
val groupingType: Output<String>?

Application 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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Name of the resource group. The following arguments are optional:

Link copied to clipboard
val tags: Output<Map<String, String>>?

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>