Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.applicationinsights.kotlin
import com.pulumi.awsnative.applicationinsights.ApplicationArgs.builder
import com.pulumi.awsnative.applicationinsights.kotlin.enums.ApplicationGroupingType
import com.pulumi.awsnative.applicationinsights.kotlin.inputs.ApplicationComponentMonitoringSettingArgs
import com.pulumi.awsnative.applicationinsights.kotlin.inputs.ApplicationComponentMonitoringSettingArgsBuilder
import com.pulumi.awsnative.applicationinsights.kotlin.inputs.ApplicationCustomComponentArgs
import com.pulumi.awsnative.applicationinsights.kotlin.inputs.ApplicationCustomComponentArgsBuilder
import com.pulumi.awsnative.applicationinsights.kotlin.inputs.ApplicationLogPatternSetArgs
import com.pulumi.awsnative.applicationinsights.kotlin.inputs.ApplicationLogPatternSetArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::ApplicationInsights::Application
* @property attachMissingPermission If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing
* @property autoConfigurationEnabled If set to true, application will be configured with recommended monitoring configuration.
* @property componentMonitoringSettings The monitoring settings of the components.
* @property customComponents The custom grouped components.
* @property cweMonitorEnabled Indicates whether Application Insights can listen to CloudWatch events for the application resources.
* @property groupingType The grouping type of the application
* @property logPatternSets The log pattern sets.
* @property opsCenterEnabled When set to true, creates opsItems for any problems detected on an application.
* @property opsItemSnsTopicArn The SNS topic provided to Application Insights that is associated to the created opsItem.
* @property resourceGroupName The name of the resource group.
* @property tags The tags of Application Insights application.
*/
public data class ApplicationArgs(
public val attachMissingPermission: Output? = null,
public val autoConfigurationEnabled: Output? = null,
public val componentMonitoringSettings: Output>? =
null,
public val customComponents: Output>? = null,
public val cweMonitorEnabled: Output? = null,
public val groupingType: Output? = null,
public val logPatternSets: Output>? = null,
public val opsCenterEnabled: Output? = null,
public val opsItemSnsTopicArn: Output? = null,
public val resourceGroupName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.applicationinsights.ApplicationArgs =
com.pulumi.awsnative.applicationinsights.ApplicationArgs.builder()
.attachMissingPermission(attachMissingPermission?.applyValue({ args0 -> args0 }))
.autoConfigurationEnabled(autoConfigurationEnabled?.applyValue({ args0 -> args0 }))
.componentMonitoringSettings(
componentMonitoringSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.customComponents(
customComponents?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.cweMonitorEnabled(cweMonitorEnabled?.applyValue({ args0 -> args0 }))
.groupingType(groupingType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.logPatternSets(
logPatternSets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.opsCenterEnabled(opsCenterEnabled?.applyValue({ args0 -> args0 }))
.opsItemSnsTopicArn(opsItemSnsTopicArn?.applyValue({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationArgs].
*/
@PulumiTagMarker
public class ApplicationArgsBuilder internal constructor() {
private var attachMissingPermission: Output? = null
private var autoConfigurationEnabled: Output? = null
private var componentMonitoringSettings: Output>? =
null
private var customComponents: Output>? = null
private var cweMonitorEnabled: Output? = null
private var groupingType: Output? = null
private var logPatternSets: Output>? = null
private var opsCenterEnabled: Output? = null
private var opsItemSnsTopicArn: Output? = null
private var resourceGroupName: Output? = null
private var tags: Output>? = null
/**
* @param value If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing
*/
@JvmName("hyttbretcehsvhsj")
public suspend fun attachMissingPermission(`value`: Output) {
this.attachMissingPermission = value
}
/**
* @param value If set to true, application will be configured with recommended monitoring configuration.
*/
@JvmName("tgufsjwijsinievu")
public suspend fun autoConfigurationEnabled(`value`: Output) {
this.autoConfigurationEnabled = value
}
/**
* @param value The monitoring settings of the components.
*/
@JvmName("jxyvnqjqwarhkstk")
public suspend fun componentMonitoringSettings(`value`: Output>) {
this.componentMonitoringSettings = value
}
@JvmName("pghxoklxvuknfgvp")
public suspend fun componentMonitoringSettings(vararg values: Output) {
this.componentMonitoringSettings = Output.all(values.asList())
}
/**
* @param values The monitoring settings of the components.
*/
@JvmName("raxduhvgaxehvimo")
public suspend fun componentMonitoringSettings(values: List