Skip to content
v2.278.0

SchemaProperty ​

Struct External

A wrapper structure to contain schema identity fields.

Either SchemaArn , or SchemaName and RegistryName has to be provided.

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 schemaProperty: glue.CfnSchemaVersion.SchemaProperty = {
  registryName: 'registryName',
  schemaArn: 'schemaArn',
  schemaName: 'schemaName',
};
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

schema_property = glue.CfnSchemaVersion.SchemaProperty(
    registry_name="registryName",
    schema_arn="schemaArn",
    schema_name="schemaName"
)
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.*;

SchemaProperty schemaProperty = SchemaProperty.builder()
        .registryName("registryName")
        .schemaArn("schemaArn")
        .schemaName("schemaName")
        .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 schemaProperty = new SchemaProperty {
    RegistryName = "registryName",
    SchemaArn = "schemaArn",
    SchemaName = "schemaName"
};
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"

schemaProperty := &SchemaProperty{
	RegistryName: jsii.String("registryName"),
	SchemaArn: jsii.String("schemaArn"),
	SchemaName: jsii.String("schemaName"),
}

Properties ​

registryNameoptionalstringregistry_nameoptionalstrregistryNameoptionalStringRegistryNameoptionalstringRegistryNameoptional*string #
The name of the registry where the schema is stored.

Either SchemaArn , or SchemaName and RegistryName has to be provided.

schemaArnoptionalstringschema_arnoptionalstrschemaArnoptionalStringSchemaArnoptionalstringSchemaArnoptional*string #
The Amazon Resource Name (ARN) of the schema.

Either SchemaArn , or SchemaName and RegistryName has to be provided.

schemaNameoptionalstringschema_nameoptionalstrschemaNameoptionalStringSchemaNameoptionalstringSchemaNameoptional*string #
The name of the schema.

Either SchemaArn , or SchemaName and RegistryName has to be provided.