Interface CfnSchemaProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSchemaProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.706Z") @Stability(Stable) public interface CfnSchemaProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnSchema.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eventschemas.*;
 CfnSchemaProps cfnSchemaProps = CfnSchemaProps.builder()
         .content("content")
         .registryName("registryName")
         .type("type")
         // the properties below are optional
         .description("description")
         .schemaName("schemaName")
         .tags(List.of(TagsEntryProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getContent

      @Stability(Stable) @NotNull String getContent()
      The source of the schema definition.
    • getRegistryName

      @Stability(Stable) @NotNull String getRegistryName()
      The name of the schema registry.
    • getType

      @Stability(Stable) @NotNull String getType()
      The type of schema.

      Valid types include OpenApi3 and JSONSchemaDraft4 .

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of the schema.
    • getSchemaName

      @Stability(Stable) @Nullable default String getSchemaName()
      The name of the schema.
    • getTags

      @Stability(Stable) @Nullable default List<CfnSchema.TagsEntryProperty> getTags()
      Tags associated with the schema.
    • builder

      @Stability(Stable) static CfnSchemaProps.Builder builder()
      Returns:
      a CfnSchemaProps.Builder of CfnSchemaProps