Skip to content

Resource: awsSchemasRegistry

Provides an EventBridge Custom Schema Registry resource.

\~> Note: EventBridge was formerly known as CloudWatch Events. The functionality is identical.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.schemasRegistry.SchemasRegistry(this, "test", {
  description: "A custom schema registry",
  name: "my_own_registry",
});

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the custom event schema registry. Maximum of 64 characters consisting of lower case letters, upper case letters, 0-9, ., -, _.
  • description - (Optional) The description of the discoverer. Maximum of 256 characters.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - The Amazon Resource Name (ARN) of the discoverer.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

EventBridge schema registries can be imported using the name, e.g.,

$ terraform import aws_schemas_registry.test my_own_registry