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.
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 providerdefault_tagsconfiguration 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 providerdefault_tagsconfiguration 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
-
Typerequired - String -
Descriptionoptional - String -
Contentrequired - String -
RegistryNamerequired - String -
SchemaNameoptional - String -
Tagsoptional - List of TagsEntry
Explanation in CloudFormation Registry
Use the
AWS::EventSchemas::Schemaresource to specify an event schema.