CfnSchemaMixinProps

class aws_cdk.mixins_preview.aws_glue.mixins.CfnSchemaMixinProps(*, checkpoint_version=None, compatibility=None, data_format=None, description=None, name=None, registry=None, schema_definition=None, tags=None)

Bases: object

Properties for CfnSchemaPropsMixin.

Parameters:
  • checkpoint_version (Union[IResolvable, SchemaVersionProperty, Dict[str, Any], None]) – Specify the VersionNumber or the IsLatest for setting the checkpoint for the schema. This is only required for updating a checkpoint.

  • compatibility (Optional[str]) – The compatibility mode of the schema.

  • data_format (Optional[str]) – The data format of the schema definition. Currently only AVRO is supported.

  • description (Optional[str]) – A description of the schema if specified when created.

  • name (Optional[str]) – 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.

  • registry (Union[IResolvable, RegistryProperty, Dict[str, Any], None]) – The registry where a schema is stored.

  • schema_definition (Optional[str]) – The schema definition using the DataFormat setting for SchemaName .

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – AWS tags that contain a key value pair and may be searched by console, command line, or API.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

cfn_schema_mixin_props = glue_mixins.CfnSchemaMixinProps(
    checkpoint_version=glue_mixins.CfnSchemaPropsMixin.SchemaVersionProperty(
        is_latest=False,
        version_number=123
    ),
    compatibility="compatibility",
    data_format="dataFormat",
    description="description",
    name="name",
    registry=glue_mixins.CfnSchemaPropsMixin.RegistryProperty(
        arn="arn",
        name="name"
    ),
    schema_definition="schemaDefinition",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

checkpoint_version

Specify the VersionNumber or the IsLatest for setting the checkpoint for the schema.

This is only required for updating a checkpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-checkpointversion

compatibility

The compatibility mode of the schema.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-compatibility

data_format

The data format of the schema definition.

Currently only AVRO is supported.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-dataformat

description

A description of the schema if specified when created.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-description

name

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-name

registry

The registry where a schema is stored.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-registry

schema_definition

The schema definition using the DataFormat setting for SchemaName .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-schemadefinition

tags

AWS tags that contain a key value pair and may be searched by console, command line, or API.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-tags