Skip to content

Latest commit

 

History

History

cloudwatch-oam-link

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

cloudwatch-oam-link

This module creates following resources.

  • aws_oam_link

Requirements

Name Version
terraform >= 1.8
aws >= 5.58

Providers

Name Version
aws 5.58.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_oam_link.this resource

Inputs

Name Description Type Default Required
name (Required) The name of the CloudWatch OAM link. string n/a yes
sink (Required) The ARN of the sink to use to create this link. string n/a yes
account_label (Optional) A label to help identify your source account. In the monitoring account, the account label is displayed with data from that source account. The account label is displayed in charts and search experiences to help you identify account context. Support use following template variables. Defaults to $AccountName.
- $AccountName: Account name used to identify accounts.
- $AccountEmail: Email address used to identify accounts. (i.e. [email protected])
- $AccountEmailNoDomain: Email address without domain (i.e. without @amazon.com) used to identify accounts.
string "$AccountName" no
log_group_configuration (Optional) A configuration for filtering which log groups are to send log events from the source account to the monitoring account. log_group_configuration as defined below.
(Optional) filter - Filter string that specifies which log groups are to share their log events with the monitoring account.
object({
filter = optional(string, "")
})
{} no
metric_configuration (Optional) A configuration for filtering which metric namespaces are to be shared from the source account to the monitoring account. log_group_configuration as defined below.
(Optional) filter - Filter string that specifies which metrics are to be shared with the monitoring account.
object({
filter = optional(string, "")
})
{} no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
resource_group_description (Optional) The description of Resource Group. string "Managed by Terraform." no
resource_group_enabled (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. bool true no
resource_group_name (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. string "" no
tags (Optional) A map of tags to add to all resources. map(string) {} no
telemetry_types (Optional) A set of the telemetry types 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. set(string) [] no

Outputs

Name Description
account_label A label to help identify your source account.
arn The ARN of the CloudWatch OAM link.
id The ID of the CloudWatch OAM link.
log_group_configuration A configuration for filtering which log groups are to send log events from the source account to the monitoring account.
metric_configuration A configuration for filtering which metric namespaces are to be shared from the source account to the monitoring account.
name The name of CloudWatch OAM link.
sink The information of the sink for this link.
telemetry_types A set of the telemetry types that the source account shares with the monitoring account.