@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)
71 lines (70 loc) • 2.38 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Creates a catalog in the Glue Data Catalog.
*/
export declare function getCatalog(args: GetCatalogArgs, opts?: pulumi.InvokeOptions): Promise<GetCatalogResult>;
export interface GetCatalogArgs {
/**
* The Amazon Resource Name (ARN) of the catalog.
*/
resourceArn: string;
}
export interface GetCatalogResult {
/**
* Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.
*/
readonly allowFullTableExternalDataAccess?: enums.glue.CatalogAllowFullTableExternalDataAccess;
/**
* The ID of the catalog.
*/
readonly catalogId?: string;
readonly catalogProperties?: outputs.glue.CatalogProperties;
/**
* An array of PrincipalPermissions objects for default database permissions.
*/
readonly createDatabaseDefaultPermissions?: outputs.glue.CatalogPrincipalPermissions[];
/**
* An array of PrincipalPermissions objects for default table permissions.
*/
readonly createTableDefaultPermissions?: outputs.glue.CatalogPrincipalPermissions[];
/**
* The time at which the catalog was created.
*/
readonly createTime?: number;
/**
* A description of the catalog.
*/
readonly description?: string;
readonly federatedCatalog?: outputs.glue.CatalogFederatedCatalog;
/**
* A map of key-value pairs that define parameters and properties of the catalog.
*/
readonly parameters?: {
[key: string]: string;
};
/**
* The Amazon Resource Name (ARN) of the catalog.
*/
readonly resourceArn?: string;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
readonly targetRedshiftCatalog?: outputs.glue.CatalogTargetRedshiftCatalog;
/**
* The time at which the catalog was last updated.
*/
readonly updateTime?: number;
}
/**
* Creates a catalog in the Glue Data Catalog.
*/
export declare function getCatalogOutput(args: GetCatalogOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCatalogResult>;
export interface GetCatalogOutputArgs {
/**
* The Amazon Resource Name (ARN) of the catalog.
*/
resourceArn: pulumi.Input<string>;
}