CfnSchemaProps

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

Bases: object

Properties for defining a AWS::Glue::Schema.

Parameters
  • checkpoint_version (Union[IResolvable, SchemaVersionProperty, None]) – AWS::Glue::Schema.CheckpointVersion.

  • compatibility (str) – AWS::Glue::Schema.Compatibility.

  • data_format (str) – AWS::Glue::Schema.DataFormat.

  • description (Optional[str]) – AWS::Glue::Schema.Description.

  • name (str) – AWS::Glue::Schema.Name.

  • registry (Union[IResolvable, RegistryProperty, None]) – AWS::Glue::Schema.Registry.

  • schema_definition (str) – AWS::Glue::Schema.SchemaDefinition.

  • tags (Optional[Sequence[CfnTag]]) – AWS::Glue::Schema.Tags.

Link

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

Example:

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

cfn_schema_props = glue.CfnSchemaProps(
    compatibility="compatibility",
    data_format="dataFormat",
    name="name",
    schema_definition="schemaDefinition",

    # the properties below are optional
    checkpoint_version=glue.CfnSchema.SchemaVersionProperty(
        is_latest=False,
        version_number=123
    ),
    description="description",
    registry=glue.CfnSchema.RegistryProperty(
        arn="arn",
        name="name"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

checkpoint_version

AWS::Glue::Schema.CheckpointVersion.

Link

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

Return type

Union[IResolvable, SchemaVersionProperty, None]

compatibility

AWS::Glue::Schema.Compatibility.

Link

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

Return type

str

data_format

AWS::Glue::Schema.DataFormat.

Link

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

Return type

str

description

AWS::Glue::Schema.Description.

Link

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

Return type

Optional[str]

name

AWS::Glue::Schema.Name.

Link

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

Return type

str

registry

AWS::Glue::Schema.Registry.

Link

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

Return type

Union[IResolvable, RegistryProperty, None]

schema_definition

AWS::Glue::Schema.SchemaDefinition.

Link

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

Return type

str

tags

AWS::Glue::Schema.Tags.

Link

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

Return type

Optional[List[CfnTag]]