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-11-22T02:24:02.480Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSchemaProps
static final class
An implementation forCfnSchemaProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSchemaProps.Builder
builder()
default Object
Specify theVersionNumber
or theIsLatest
for setting the checkpoint for the schema.The compatibility mode of the schema.The data format of the schema definition.default String
A 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 Object
The registry where a schema is stored.default String
The schema definition using theDataFormat
setting 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
AVRO
is 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 theVersionNumber
or theIsLatest
for 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 theDataFormat
setting 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.Builder
ofCfnSchemaProps
-