CfnSchemaVersionPropsMixin

class aws_cdk.mixins_preview.aws_glue.mixins.CfnSchemaVersionPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::Glue::SchemaVersion is an AWS Glue resource type that manages schema versions of schemas in the AWS Glue Schema Registry.

See:

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

CloudformationResource:

AWS::Glue::SchemaVersion

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

cfn_schema_version_props_mixin = glue_mixins.CfnSchemaVersionPropsMixin(glue_mixins.CfnSchemaVersionMixinProps(
    schema=glue_mixins.CfnSchemaVersionPropsMixin.SchemaProperty(
        registry_name="registryName",
        schema_arn="schemaArn",
        schema_name="schemaName"
    ),
    schema_definition="schemaDefinition"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Glue::SchemaVersion.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['schema', 'schemaDefinition']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

SchemaProperty

class CfnSchemaVersionPropsMixin.SchemaProperty(*, registry_name=None, schema_arn=None, schema_name=None)

Bases: object

A wrapper structure to contain schema identity fields.

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

Parameters:
  • registry_name (Optional[str]) – The name of the registry where the schema is stored. Either SchemaArn , or SchemaName and RegistryName has to be provided.

  • schema_arn (Optional[str]) – The Amazon Resource Name (ARN) of the schema. Either SchemaArn , or SchemaName and RegistryName has to be provided.

  • schema_name (Optional[str]) – The name of the schema. Either SchemaArn , or SchemaName and RegistryName has to be provided.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

schema_property = glue_mixins.CfnSchemaVersionPropsMixin.SchemaProperty(
    registry_name="registryName",
    schema_arn="schemaArn",
    schema_name="schemaName"
)

Attributes

registry_name

The name of the registry where the schema is stored.

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

See:

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

schema_arn

The Amazon Resource Name (ARN) of the schema.

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

See:

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

schema_name

The name of the schema.

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

See:

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