@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
50 lines (49 loc) • 1.62 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* This resource represents a schema of Glue Schema Registry.
*/
export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
export interface GetSchemaArgs {
/**
* Amazon Resource Name for the Schema.
*/
arn: string;
}
export interface GetSchemaResult {
/**
* Amazon Resource Name for the Schema.
*/
readonly arn?: string;
/**
* Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. This is only required for updating a checkpoint.
*/
readonly checkpointVersion?: outputs.glue.SchemaVersion;
/**
* Compatibility setting for the schema.
*/
readonly compatibility?: enums.glue.SchemaCompatibility;
/**
* A description of the schema. If description is not provided, there will not be any default value for this.
*/
readonly description?: string;
/**
* Represents the version ID associated with the initial schema version.
*/
readonly initialSchemaVersionId?: string;
/**
* List of tags to tag the schema
*/
readonly tags?: outputs.Tag[];
}
/**
* This resource represents a schema of Glue Schema Registry.
*/
export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSchemaResult>;
export interface GetSchemaOutputArgs {
/**
* Amazon Resource Name for the Schema.
*/
arn: pulumi.Input<string>;
}