Skip to content
v2.277.0

CfnSchemaVersionMetadataProps Struct ​

Properties for defining a CfnSchemaVersionMetadata.

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 cfnSchemaVersionMetadataProps: glue.CfnSchemaVersionMetadataProps = {
  key: 'key',
  schemaVersionId: 'schemaVersionId',
  value: 'value',
};
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_metadata_props = glue.CfnSchemaVersionMetadataProps(
    key="key",
    schema_version_id="schemaVersionId",
    value="value"
)
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.*;

CfnSchemaVersionMetadataProps cfnSchemaVersionMetadataProps = CfnSchemaVersionMetadataProps.builder()
        .key("key")
        .schemaVersionId("schemaVersionId")
        .value("value")
        .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 cfnSchemaVersionMetadataProps = new CfnSchemaVersionMetadataProps {
    Key = "key",
    SchemaVersionId = "schemaVersionId",
    Value = "value"
};
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"

cfnSchemaVersionMetadataProps := &CfnSchemaVersionMetadataProps{
	Key: jsii.String("key"),
	SchemaVersionId: jsii.String("schemaVersionId"),
	Value: jsii.String("value"),
}

Properties ​

keystringkeystrkeyStringKeystringKey*stringrequired#
A metadata key in a key-value pair for metadata.
schemaVersionIdstring | ISchemaVersionRefschema_version_idtyping.Union[str, ISchemaVersionRef]schemaVersionIdStringSchemaVersionIdstringSchemaVersionIdinterface{}required#
The version number of the schema.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
A metadata key's corresponding value.