CfnSchemaProps
- class aws_cdk.aws_eventschemas.CfnSchemaProps(*, content, registry_name, type, description=None, schema_name=None, tags=None)
Bases:
objectProperties for defining a
CfnSchema.- Parameters:
content (
str) – The source of the schema definition.registry_name (
str) – The name of the schema registry.type (
str) – The type of schema. Valid types includeOpenApi3andJSONSchemaDraft4.description (
Optional[str]) – A description of the schema.schema_name (
Optional[str]) – The name of the schema.tags (
Optional[Sequence[Union[TagsEntryProperty,Dict[str,Any]]]]) – Tags associated with the schema.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-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. import aws_cdk.aws_eventschemas as eventschemas cfn_schema_props = eventschemas.CfnSchemaProps( content="content", registry_name="registryName", type="type", # the properties below are optional description="description", schema_name="schemaName", tags=[eventschemas.CfnSchema.TagsEntryProperty( key="key", value="value" )] )
Attributes
- content
The source of the schema definition.
- description
A description of the schema.
- registry_name
The name of the schema registry.
- schema_name
The name of the schema.
- tags
Tags associated with the schema.
- type
The type of schema.
Valid types include
OpenApi3andJSONSchemaDraft4.