We recommend new projects start with resources from the AWS provider.
aws-native.glue.Schema
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
This resource represents a schema of Glue Schema Registry.
Create Schema Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Schema(name: string, args: SchemaArgs, opts?: CustomResourceOptions);@overload
def Schema(resource_name: str,
           args: SchemaArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Schema(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           compatibility: Optional[SchemaCompatibility] = None,
           data_format: Optional[SchemaDataFormat] = None,
           checkpoint_version: Optional[SchemaVersionArgs] = None,
           description: Optional[str] = None,
           name: Optional[str] = None,
           registry: Optional[SchemaRegistryArgs] = None,
           schema_definition: Optional[str] = None,
           tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewSchema(ctx *Context, name string, args SchemaArgs, opts ...ResourceOption) (*Schema, error)public Schema(string name, SchemaArgs args, CustomResourceOptions? opts = null)
public Schema(String name, SchemaArgs args)
public Schema(String name, SchemaArgs args, CustomResourceOptions options)
type: aws-native:glue:Schema
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SchemaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SchemaArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SchemaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Schema Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Schema resource accepts the following input properties:
- Compatibility
Pulumi.Aws Native. Glue. Schema Compatibility 
- Compatibility setting for the schema.
- DataFormat Pulumi.Aws Native. Glue. Schema Data Format 
- Data format name to use for the schema. Accepted values: 'AVRO', 'JSON', 'PROTOBUF'
- CheckpointVersion Pulumi.Aws Native. Glue. Inputs. Schema Version 
- Specify the VersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.
- Description string
- A description of the schema. If description is not provided, there will not be any default value for this.
- Name string
- Name of the schema.
- Registry
Pulumi.Aws Native. Glue. Inputs. Schema Registry 
- The registry where a schema is stored.
- SchemaDefinition string
- Definition for the initial schema version in plain-text.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- List of tags to tag the schema
- Compatibility
SchemaCompatibility 
- Compatibility setting for the schema.
- DataFormat SchemaData Format 
- Data format name to use for the schema. Accepted values: 'AVRO', 'JSON', 'PROTOBUF'
- CheckpointVersion SchemaVersion Type Args 
- Specify the VersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.
- Description string
- A description of the schema. If description is not provided, there will not be any default value for this.
- Name string
- Name of the schema.
- Registry
SchemaRegistry Args 
- The registry where a schema is stored.
- SchemaDefinition string
- Definition for the initial schema version in plain-text.
- 
TagArgs 
- List of tags to tag the schema
- compatibility
SchemaCompatibility 
- Compatibility setting for the schema.
- dataFormat SchemaData Format 
- Data format name to use for the schema. Accepted values: 'AVRO', 'JSON', 'PROTOBUF'
- checkpointVersion SchemaVersion 
- Specify the VersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.
- description String
- A description of the schema. If description is not provided, there will not be any default value for this.
- name String
- Name of the schema.
- registry
SchemaRegistry 
- The registry where a schema is stored.
- schemaDefinition String
- Definition for the initial schema version in plain-text.
- List<Tag>
- List of tags to tag the schema
- compatibility
SchemaCompatibility 
- Compatibility setting for the schema.
- dataFormat SchemaData Format 
- Data format name to use for the schema. Accepted values: 'AVRO', 'JSON', 'PROTOBUF'
- checkpointVersion SchemaVersion 
- Specify the VersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.
- description string
- A description of the schema. If description is not provided, there will not be any default value for this.
- name string
- Name of the schema.
- registry
SchemaRegistry 
- The registry where a schema is stored.
- schemaDefinition string
- Definition for the initial schema version in plain-text.
- Tag[]
- List of tags to tag the schema
- compatibility
SchemaCompatibility 
- Compatibility setting for the schema.
- data_format SchemaData Format 
- Data format name to use for the schema. Accepted values: 'AVRO', 'JSON', 'PROTOBUF'
- checkpoint_version SchemaVersion Args 
- Specify the VersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.
- description str
- A description of the schema. If description is not provided, there will not be any default value for this.
- name str
- Name of the schema.
- registry
SchemaRegistry Args 
- The registry where a schema is stored.
- schema_definition str
- Definition for the initial schema version in plain-text.
- 
Sequence[TagArgs] 
- List of tags to tag the schema
- compatibility "NONE" | "DISABLED" | "BACKWARD" | "BACKWARD_ALL" | "FORWARD" | "FORWARD_ALL" | "FULL" | "FULL_ALL"
- Compatibility setting for the schema.
- dataFormat "AVRO" | "JSON" | "PROTOBUF"
- Data format name to use for the schema. Accepted values: 'AVRO', 'JSON', 'PROTOBUF'
- checkpointVersion Property Map
- Specify the VersionNumberor theIsLatestfor setting the checkpoint for the schema. This is only required for updating a checkpoint.
- description String
- A description of the schema. If description is not provided, there will not be any default value for this.
- name String
- Name of the schema.
- registry Property Map
- The registry where a schema is stored.
- schemaDefinition String
- Definition for the initial schema version in plain-text.
- List<Property Map>
- List of tags to tag the schema
Outputs
All input properties are implicitly available as output properties. Additionally, the Schema resource produces the following output properties:
- Arn string
- Amazon Resource Name for the Schema.
- Id string
- The provider-assigned unique ID for this managed resource.
- InitialSchema stringVersion Id 
- Represents the version ID associated with the initial schema version.
- Arn string
- Amazon Resource Name for the Schema.
- Id string
- The provider-assigned unique ID for this managed resource.
- InitialSchema stringVersion Id 
- Represents the version ID associated with the initial schema version.
- arn String
- Amazon Resource Name for the Schema.
- id String
- The provider-assigned unique ID for this managed resource.
- initialSchema StringVersion Id 
- Represents the version ID associated with the initial schema version.
- arn string
- Amazon Resource Name for the Schema.
- id string
- The provider-assigned unique ID for this managed resource.
- initialSchema stringVersion Id 
- Represents the version ID associated with the initial schema version.
- arn str
- Amazon Resource Name for the Schema.
- id str
- The provider-assigned unique ID for this managed resource.
- initial_schema_ strversion_ id 
- Represents the version ID associated with the initial schema version.
- arn String
- Amazon Resource Name for the Schema.
- id String
- The provider-assigned unique ID for this managed resource.
- initialSchema StringVersion Id 
- Represents the version ID associated with the initial schema version.
Supporting Types
SchemaCompatibility, SchemaCompatibilityArgs    
- None
- NONE
- Disabled
- DISABLED
- Backward
- BACKWARD
- BackwardAll 
- BACKWARD_ALL
- Forward
- FORWARD
- ForwardAll 
- FORWARD_ALL
- Full
- FULL
- FullAll 
- FULL_ALL
- SchemaCompatibility None 
- NONE
- SchemaCompatibility Disabled 
- DISABLED
- SchemaCompatibility Backward 
- BACKWARD
- SchemaCompatibility Backward All 
- BACKWARD_ALL
- SchemaCompatibility Forward 
- FORWARD
- SchemaCompatibility Forward All 
- FORWARD_ALL
- SchemaCompatibility Full 
- FULL
- SchemaCompatibility Full All 
- FULL_ALL
- None
- NONE
- Disabled
- DISABLED
- Backward
- BACKWARD
- BackwardAll 
- BACKWARD_ALL
- Forward
- FORWARD
- ForwardAll 
- FORWARD_ALL
- Full
- FULL
- FullAll 
- FULL_ALL
- None
- NONE
- Disabled
- DISABLED
- Backward
- BACKWARD
- BackwardAll 
- BACKWARD_ALL
- Forward
- FORWARD
- ForwardAll 
- FORWARD_ALL
- Full
- FULL
- FullAll 
- FULL_ALL
- NONE
- NONE
- DISABLED
- DISABLED
- BACKWARD
- BACKWARD
- BACKWARD_ALL
- BACKWARD_ALL
- FORWARD
- FORWARD
- FORWARD_ALL
- FORWARD_ALL
- FULL
- FULL
- FULL_ALL
- FULL_ALL
- "NONE"
- NONE
- "DISABLED"
- DISABLED
- "BACKWARD"
- BACKWARD
- "BACKWARD_ALL"
- BACKWARD_ALL
- "FORWARD"
- FORWARD
- "FORWARD_ALL"
- FORWARD_ALL
- "FULL"
- FULL
- "FULL_ALL"
- FULL_ALL
SchemaDataFormat, SchemaDataFormatArgs      
- Avro
- AVRO
- Json
- JSON
- Protobuf
- PROTOBUF
- SchemaData Format Avro 
- AVRO
- SchemaData Format Json 
- JSON
- SchemaData Format Protobuf 
- PROTOBUF
- Avro
- AVRO
- Json
- JSON
- Protobuf
- PROTOBUF
- Avro
- AVRO
- Json
- JSON
- Protobuf
- PROTOBUF
- AVRO
- AVRO
- JSON
- JSON
- PROTOBUF
- PROTOBUF
- "AVRO"
- AVRO
- "JSON"
- JSON
- "PROTOBUF"
- PROTOBUF
SchemaRegistry, SchemaRegistryArgs    
SchemaVersion, SchemaVersionArgs    
- IsLatest bool
- Indicates if the latest version needs to be updated.
- VersionNumber int
- Indicates the version number in the schema to update.
- IsLatest bool
- Indicates if the latest version needs to be updated.
- VersionNumber int
- Indicates the version number in the schema to update.
- isLatest Boolean
- Indicates if the latest version needs to be updated.
- versionNumber Integer
- Indicates the version number in the schema to update.
- isLatest boolean
- Indicates if the latest version needs to be updated.
- versionNumber number
- Indicates the version number in the schema to update.
- is_latest bool
- Indicates if the latest version needs to be updated.
- version_number int
- Indicates the version number in the schema to update.
- isLatest Boolean
- Indicates if the latest version needs to be updated.
- versionNumber Number
- Indicates the version number in the schema to update.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.