CfnSchemaVersionProps

class aws_cdk.aws_glue.CfnSchemaVersionProps(*, schema, schema_definition)

Bases: object

Properties for defining a CfnSchemaVersion.

Parameters
  • schema (Union[IResolvable, SchemaProperty, Dict[str, Any]]) – The schema that includes the schema version.

  • schema_definition (str) – The schema definition for the schema version.

Link

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

ExampleMetadata

fixture=_generated

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_version_props = glue.CfnSchemaVersionProps(
    schema=glue.CfnSchemaVersion.SchemaProperty(
        registry_name="registryName",
        schema_arn="schemaArn",
        schema_name="schemaName"
    ),
    schema_definition="schemaDefinition"
)

Attributes

schema

The schema that includes the schema version.

Link

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

Return type

Union[IResolvable, SchemaProperty]

schema_definition

The schema definition for the schema version.

Link

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

Return type

str