AWS Amazon EventBridge Schemas Schema

This page shows how to write Terraform and CloudFormation for Amazon EventBridge Schemas Schema and write them securely.

aws_schemas_schema (Terraform)

The Schema in Amazon EventBridge Schemas can be configured in Terraform with the resource name aws_schemas_schema. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • name - (Required) The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @.
  • content - (Required) The schema specification. Must be a valid Open API 3.0 spec.
  • registry_name - (Required) The name of the registry in which this schema belongs.
  • type - (Required) The type of the schema. Valid values: OpenApi3.
  • description - (Optional) The description of the schema. Maximum of 256 characters.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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

  • arn - The Amazon Resource Name (ARN) of the discoverer.
  • last_modified - The last modified date of the schema.
  • tags_all - A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
  • version - The version of the schema.
  • version_created_date - The created date of the version of the schema.

Explanation in Terraform Registry

Provides an EventBridge Schema resource.

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

AWS::EventSchemas::Schema (CloudFormation)

The Schema in EventSchemas can be configured in CloudFormation with the resource name AWS::EventSchemas::Schema. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in CloudFormation Registry

Use the AWS::EventSchemas::Schema resource to specify an event schema.

Frequently asked questions

What is AWS Amazon EventBridge Schemas Schema?

AWS Amazon EventBridge Schemas Schema is a resource for Amazon EventBridge Schemas of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.