CfnSchemaVersionPropsMixin
- class aws_cdk.mixins_preview.aws_glue.mixins.CfnSchemaVersionPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::Glue::SchemaVersionis 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:
props (
Union[CfnSchemaVersionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
SchemaProperty
- class CfnSchemaVersionPropsMixin.SchemaProperty(*, registry_name=None, schema_arn=None, schema_name=None)
Bases:
objectA wrapper structure to contain schema identity fields.
Either
SchemaArn, orSchemaNameandRegistryNamehas to be provided.- Parameters:
registry_name (
Optional[str]) – The name of the registry where the schema is stored. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.schema_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the schema. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.schema_name (
Optional[str]) – The name of the schema. EitherSchemaArn, orSchemaNameandRegistryNamehas to be provided.
- See:
- 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, orSchemaNameandRegistryNamehas to be provided.
- schema_arn
The Amazon Resource Name (ARN) of the schema.
Either
SchemaArn, orSchemaNameandRegistryNamehas to be provided.
- schema_name
The name of the schema.
Either
SchemaArn, orSchemaNameandRegistryNamehas to be provided.