Terraform data source for managing an AWS CloudWatch Observability Access Manager Sink.
data "aws_oam_sink" "example" {
sink_identifier = "arn:aws:oam:us-west-1:111111111111:sink/abcd1234-a123-456a-a12b-a123b456c789"
}
The following arguments are required:
sink_identifier
- (Required) ARN of the sink.This data source exports the following attributes in addition to the arguments above:
arn
- ARN of the sink.name
- Name of the sink.sink_id
- Random ID string that AWS generated as part of the sink ARN.tags
- Tags assigned to the sink.