Terraform data source for managing an AWS CloudWatch Observability Access Manager Link.
data "aws_oam_link" "example" {
link_identifier = "arn:aws:oam:us-west-1:111111111111:link/abcd1234-a123-456a-a12b-a123b456c789"
}
The following arguments are required:
link_identifier
- (Required) ARN of the link.This data source exports the following attributes in addition to the arguments above:
arn
- ARN of the link.label
- Label that is assigned to this link.label_template
- Human-readable name used to identify this source account when you are viewing data from it in the monitoring account.link_id
- ID string that AWS generated as part of the link ARN.resource_types
- Types of data that the source account shares with the monitoring account.sink_arn
- ARN of the sink that is used for this link.