Interface Smithy2CfnExtension

All Known Implementing Classes:
CoreExtension

public interface Smithy2CfnExtension
An extension mechanism used to influence how CloudFormation resource schemas are generated from Smithy models.

Implementations of this interface are discovered through Java SPI.

  • Method Summary

    Modifier and Type
    Method
    Description
    default List<CfnMapper>
    Registers CloudFormation mappers, classes used to modify and extend the process of converting a Smithy model to CloudFormation resource schemas.
    Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.
  • Method Details

    • getCfnMappers

      default List<CfnMapper> getCfnMappers()
      Registers CloudFormation mappers, classes used to modify and extend the process of converting a Smithy model to CloudFormation resource schemas.
      Returns:
      Returns the mappers to register.
    • getJsonSchemaMappers

      default List<JsonSchemaMapper> getJsonSchemaMappers()
      Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.
      Returns:
      Returns the mappers to register.