Interface CfnSchemaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchemaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:02:02.400Z")
@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
Modifier 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.- See Also:
-
getRegistryName
The name of the schema registry.- See Also:
-
getType
The type of schema.Valid types include
OpenApi3
andJSONSchemaDraft4
.- 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.Builder
ofCfnSchemaProps
-