Interface CfnSchemaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchemaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:38.992Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSchemaPropsstatic final classAn implementation forCfnSchemaProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSchemaProps.Builderbuilder()The source of the schema definition.default StringA description of the schema.The name of the schema registry.default StringThe name of the schema.default List<CfnSchema.TagsEntryProperty> getTags()Tags associated with the schema.getType()The type of schema.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
The source of the schema definition.- See Also:
-
getRegistryName
The name of the schema registry.- See Also:
-
getType
The type of schema.Valid types include
OpenApi3andJSONSchemaDraft4.- See Also:
-
getDescription
A description of the schema.- See Also:
-
getSchemaName
The name of the schema.- See Also:
-
getTags
Tags associated with the schema.- See Also:
-
builder
- Returns:
- a
CfnSchemaProps.BuilderofCfnSchemaProps
-