@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)
127 lines (126 loc) • 5.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Creates a catalog in the Glue Data Catalog.
*/
export declare class Catalog extends pulumi.CustomResource {
/**
* Get an existing Catalog resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Catalog;
/**
* Returns true if the given object is an instance of Catalog. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Catalog;
/**
* Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.
*/
readonly allowFullTableExternalDataAccess: pulumi.Output<enums.glue.CatalogAllowFullTableExternalDataAccess | undefined>;
/**
* The ID of the catalog.
*/
readonly catalogId: pulumi.Output<string>;
readonly catalogProperties: pulumi.Output<outputs.glue.CatalogProperties | undefined>;
/**
* An array of PrincipalPermissions objects for default database permissions.
*/
readonly createDatabaseDefaultPermissions: pulumi.Output<outputs.glue.CatalogPrincipalPermissions[] | undefined>;
/**
* An array of PrincipalPermissions objects for default table permissions.
*/
readonly createTableDefaultPermissions: pulumi.Output<outputs.glue.CatalogPrincipalPermissions[] | undefined>;
/**
* The time at which the catalog was created.
*/
readonly createTime: pulumi.Output<number>;
/**
* A description of the catalog.
*/
readonly description: pulumi.Output<string | undefined>;
readonly federatedCatalog: pulumi.Output<outputs.glue.CatalogFederatedCatalog | undefined>;
/**
* The name of the catalog to create.
*/
readonly name: pulumi.Output<string>;
/**
* Specifies whether to overwrite child resource permissions with the default permissions.
*/
readonly overwriteChildResourcePermissionsWithDefault: pulumi.Output<enums.glue.CatalogOverwriteChildResourcePermissionsWithDefault | undefined>;
/**
* A map of key-value pairs that define parameters and properties of the catalog.
*/
readonly parameters: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* The Amazon Resource Name (ARN) of the catalog.
*/
readonly resourceArn: pulumi.Output<string>;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
readonly targetRedshiftCatalog: pulumi.Output<outputs.glue.CatalogTargetRedshiftCatalog | undefined>;
/**
* The time at which the catalog was last updated.
*/
readonly updateTime: pulumi.Output<number>;
/**
* Create a Catalog resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CatalogArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Catalog resource.
*/
export interface CatalogArgs {
/**
* Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.
*/
allowFullTableExternalDataAccess?: pulumi.Input<enums.glue.CatalogAllowFullTableExternalDataAccess>;
catalogProperties?: pulumi.Input<inputs.glue.CatalogPropertiesArgs>;
/**
* An array of PrincipalPermissions objects for default database permissions.
*/
createDatabaseDefaultPermissions?: pulumi.Input<pulumi.Input<inputs.glue.CatalogPrincipalPermissionsArgs>[]>;
/**
* An array of PrincipalPermissions objects for default table permissions.
*/
createTableDefaultPermissions?: pulumi.Input<pulumi.Input<inputs.glue.CatalogPrincipalPermissionsArgs>[]>;
/**
* A description of the catalog.
*/
description?: pulumi.Input<string>;
federatedCatalog?: pulumi.Input<inputs.glue.CatalogFederatedCatalogArgs>;
/**
* The name of the catalog to create.
*/
name?: pulumi.Input<string>;
/**
* Specifies whether to overwrite child resource permissions with the default permissions.
*/
overwriteChildResourcePermissionsWithDefault?: pulumi.Input<enums.glue.CatalogOverwriteChildResourcePermissionsWithDefault>;
/**
* A map of key-value pairs that define parameters and properties of the catalog.
*/
parameters?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* An array of key-value pairs to apply to this resource.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
targetRedshiftCatalog?: pulumi.Input<inputs.glue.CatalogTargetRedshiftCatalogArgs>;
}