interface CfnCatalogProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.CfnCatalogProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnCatalogProps |
Java | software.amazon.awscdk.services.glue.CfnCatalogProps |
Python | aws_cdk.aws_glue.CfnCatalogProps |
TypeScript | aws-cdk-lib » aws_glue » CfnCatalogProps |
Properties for defining a CfnCatalog.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-catalog.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnCatalogProps: glue.CfnCatalogProps = {
name: 'name',
// the properties below are optional
allowFullTableExternalDataAccess: 'allowFullTableExternalDataAccess',
catalogProperties: {
customProperties: {
customPropertiesKey: 'customProperties',
},
dataLakeAccessProperties: {
allowFullTableExternalDataAccess: 'allowFullTableExternalDataAccess',
catalogType: 'catalogType',
dataLakeAccess: false,
dataTransferRole: 'dataTransferRole',
kmsKey: 'kmsKey',
managedWorkgroupName: 'managedWorkgroupName',
managedWorkgroupStatus: 'managedWorkgroupStatus',
redshiftDatabaseName: 'redshiftDatabaseName',
},
},
createDatabaseDefaultPermissions: [{
permissions: ['permissions'],
principal: {
dataLakePrincipalIdentifier: 'dataLakePrincipalIdentifier',
},
}],
createTableDefaultPermissions: [{
permissions: ['permissions'],
principal: {
dataLakePrincipalIdentifier: 'dataLakePrincipalIdentifier',
},
}],
description: 'description',
federatedCatalog: {
connectionName: 'connectionName',
identifier: 'identifier',
},
overwriteChildResourcePermissionsWithDefault: 'overwriteChildResourcePermissionsWithDefault',
parameters: {
parametersKey: 'parameters',
},
tags: [{
key: 'key',
value: 'value',
}],
targetRedshiftCatalog: {
catalogArn: 'catalogArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the catalog to create. |
| allow | string | Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. |
| catalog | IResolvable | Catalog | A structure that specifies data lake access properties and other custom properties. |
| create | IResolvable | (IResolvable | Principal)[] | An array of PrincipalPermissions objects for default database permissions. |
| create | IResolvable | (IResolvable | Principal)[] | An array of PrincipalPermissions objects for default table permissions. |
| description? | string | A description of the catalog. |
| federated | IResolvable | Federated | A FederatedCatalog structure that references an entity outside the Glue Data Catalog. |
| overwrite | string | Specifies whether to overwrite child resource permissions with the default permissions. |
| parameters? | { [string]: string } | IResolvable | A map of key-value pairs that define parameters and properties of the catalog. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
| target | IResolvable | Target | A structure that describes a target catalog for resource linking. |
name
Type:
string
The name of the catalog to create.
allowFullTableExternalDataAccess?
Type:
string
(optional)
Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.
catalogProperties?
Type:
IResolvable | Catalog
(optional)
A structure that specifies data lake access properties and other custom properties.
createDatabaseDefaultPermissions?
Type:
IResolvable | (IResolvable | Principal)[]
(optional)
An array of PrincipalPermissions objects for default database permissions.
createTableDefaultPermissions?
Type:
IResolvable | (IResolvable | Principal)[]
(optional)
An array of PrincipalPermissions objects for default table permissions.
description?
Type:
string
(optional)
A description of the catalog.
federatedCatalog?
Type:
IResolvable | Federated
(optional)
A FederatedCatalog structure that references an entity outside the Glue Data Catalog.
overwriteChildResourcePermissionsWithDefault?
Type:
string
(optional)
Specifies whether to overwrite child resource permissions with the default permissions.
parameters?
Type:
{ [string]: string } | IResolvable
(optional)
A map of key-value pairs that define parameters and properties of the catalog.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
targetRedshiftCatalog?
Type:
IResolvable | Target
(optional)
A structure that describes a target catalog for resource linking.

.NET
Go
Java
Python
TypeScript