Interface CfnSchemaProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchemaProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:11.804Z")
@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.glue.*;
CfnSchemaProps cfnSchemaProps = CfnSchemaProps.builder()
.compatibility("compatibility")
.dataFormat("dataFormat")
.name("name")
// the properties below are optional
.checkpointVersion(SchemaVersionProperty.builder()
.isLatest(false)
.versionNumber(123)
.build())
.description("description")
.registry(RegistryProperty.builder()
.arn("arn")
.name("name")
.build())
.schemaDefinition("schemaDefinition")
.tags(List.of(CfnTag.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()default ObjectSpecify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.The compatibility mode of the schema.The data format of the schema definition.default StringA description of the schema if specified when created.getName()Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark.default ObjectThe registry where a schema is stored.default StringThe schema definition using theDataFormatsetting forSchemaName.getTags()AWS tags that contain a key value pair and may be searched by console, command line, or API.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCompatibility
The compatibility mode of the schema.- See Also:
-
getDataFormat
The data format of the schema definition.Currently only
AVROis supported.- See Also:
-
getName
Name of the schema to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark.No whitespace.
- See Also:
-
getCheckpointVersion
Specify theVersionNumberor theIsLatestfor setting the checkpoint for the schema.This is only required for updating a checkpoint.
- See Also:
-
getDescription
A description of the schema if specified when created.- See Also:
-
getRegistry
The registry where a schema is stored.- See Also:
-
getSchemaDefinition
The schema definition using theDataFormatsetting forSchemaName.- See Also:
-
getTags
AWS tags that contain a key value pair and may be searched by console, command line, or API.- See Also:
-
builder
- Returns:
- a
CfnSchemaProps.BuilderofCfnSchemaProps
-