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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSchemaProps
static final class
An implementation forCfnSchemaProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSchemaProps.Builder
builder()
The source of the schema definition.default String
A description of the schema.The name of the schema registry.default String
The 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. -
getRegistryName
The name of the schema registry. -
getType
The type of schema.Valid types include
OpenApi3
andJSONSchemaDraft4
. -
getDescription
A description of the schema. -
getSchemaName
The name of the schema. -
getTags
Tags associated with the schema. -
builder
- Returns:
- a
CfnSchemaProps.Builder
ofCfnSchemaProps
-