Interface CfnModelProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.218Z") @Stability(Stable) public interface CfnModelProps extends
Properties for defining a CfnModel.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object schema;
 CfnModelProps cfnModelProps = CfnModelProps.builder()
         // the properties below are optional
  • Method Details

    • getApiId

      @Stability(Stable) @NotNull String getApiId()
      The API identifier.
    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the model.
    • getSchema

      @Stability(Stable) @NotNull Object getSchema()
      The schema for the model.

      For application/json models, this should be JSON schema draft 4 model.

    • getContentType

      @Stability(Stable) @Nullable default String getContentType()
      The content-type for the model, for example, "application/json".
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the model.
    • builder

      @Stability(Stable) static CfnModelProps.Builder builder()
      a CfnModelProps.Builder of CfnModelProps