Skip to content
v2.278.0

CfnSchemaVersionProps Struct ​

Properties for defining a CfnSchemaVersion.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnSchemaVersionProps: glue.CfnSchemaVersionProps = {
  schema: {
    registryName: 'registryName',
    schemaArn: 'schemaArn',
    schemaName: 'schemaName',
  },
  schemaDefinition: 'schemaDefinition',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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"
)
java
// 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.*;

CfnSchemaVersionProps cfnSchemaVersionProps = CfnSchemaVersionProps.builder()
        .schema(SchemaProperty.builder()
                .registryName("registryName")
                .schemaArn("schemaArn")
                .schemaName("schemaName")
                .build())
        .schemaDefinition("schemaDefinition")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var cfnSchemaVersionProps = new CfnSchemaVersionProps {
    Schema = new SchemaProperty {
        RegistryName = "registryName",
        SchemaArn = "schemaArn",
        SchemaName = "schemaName"
    },
    SchemaDefinition = "schemaDefinition"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnSchemaVersionProps := &CfnSchemaVersionProps{
	Schema: &SchemaProperty{
		RegistryName: jsii.String("registryName"),
		SchemaArn: jsii.String("schemaArn"),
		SchemaName: jsii.String("schemaName"),
	},
	SchemaDefinition: jsii.String("schemaDefinition"),
}

Properties ​

schemaIResolvable | CfnSchemaVersion.SchemaPropertyschematyping.Union[IResolvable, SchemaProperty]schemaIResolvableSchemaIResolvableSchemainterface{} required #
The schema that includes the schema version.
schemaDefinitionstringschema_definitionstrschemaDefinitionStringSchemaDefinitionstringSchemaDefinition*string required #
The schema definition for the schema version.