Resource: aws_schemas_discoverer

Provides an EventBridge Schema Discoverer resource.

Example Usage

resource "aws_cloudwatch_event_bus" "messenger" {
  name = "chat-messages"
}

resource "aws_schemas_discoverer" "test" {
  source_arn  = aws_cloudwatch_event_bus.messenger.arn
  description = "Auto discover event schemas"
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import EventBridge discoverers using the id. For example:

import {
  to = aws_schemas_discoverer.test
  id = "123"
}

Using terraform import, import EventBridge discoverers using the id. For example:

% terraform import aws_schemas_discoverer.test 123