com.pulumi.awsnative.oam.kotlin.LinkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.oam.kotlin
import com.pulumi.awsnative.oam.LinkArgs.builder
import com.pulumi.awsnative.oam.kotlin.enums.LinkResourceType
import com.pulumi.awsnative.oam.kotlin.inputs.LinkConfigurationArgs
import com.pulumi.awsnative.oam.kotlin.inputs.LinkConfigurationArgsBuilder
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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Definition of AWS::Oam::Link Resource Type
* @property labelTemplate Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
* You can include the following variables in your template:
* - `$AccountName` is the name of the account
* - `$AccountEmail` is a globally-unique email address, which includes the email domain, such as `[email protected]`
* - `$AccountEmailNoDomain` is an email address without the domain name, such as `mariagarcia`
* @property linkConfiguration Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
* @property resourceTypes An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are `AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor` .
* @property sinkIdentifier The ARN of the sink in the monitoring account that you want to link to. You can use [ListSinks](https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html) to find the ARNs of sinks.
* @property tags Tags to apply to the link
*/
public data class LinkArgs(
public val labelTemplate: Output? = null,
public val linkConfiguration: Output? = null,
public val resourceTypes: Output>? = null,
public val sinkIdentifier: Output? = null,
public val tags: Output