LinkArgs

data class LinkArgs(val labelTemplate: Output<String>? = null, val linkConfiguration: Output<LinkConfigurationArgs>? = null, val resourceTypes: Output<List<LinkResourceType>>? = null, val sinkIdentifier: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LinkArgs>

Definition of AWS::Oam::Link Resource Type

Constructors

Link copied to clipboard
constructor(labelTemplate: Output<String>? = null, linkConfiguration: Output<LinkConfigurationArgs>? = null, resourceTypes: Output<List<LinkResourceType>>? = null, sinkIdentifier: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val labelTemplate: Output<String>? = null

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:

Link copied to clipboard

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.

Link copied to clipboard
val resourceTypes: Output<List<LinkResourceType>>? = null

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 .

Link copied to clipboard
val sinkIdentifier: Output<String>? = null

The ARN of the sink in the monitoring account that you want to link to. You can use ListSinks to find the ARNs of sinks.

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

Tags to apply to the link

Functions

Link copied to clipboard
open override fun toJava(): LinkArgs