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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.List<CfnMapper> getCfnMappers()
      Registers CloudFormation mappers, classes used to modify and extend the process of converting a Smithy model to CloudFormation resource schemas.
      default java.util.List<JsonSchemaMapper> getJsonSchemaMappers()
      Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.
    • Method Detail

      • getCfnMappers

        default java.util.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 java.util.List<JsonSchemaMapper> getJsonSchemaMappers()
        Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.
        Returns:
        Returns the mappers to register.