Class CfnDataCatalogProps
Properties for defining a CfnDataCatalog
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Athena
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDataCatalogProps : Object, ICfnDataCatalogProps
Syntax (vb)
Public Class CfnDataCatalogProps
Inherits Object
Implements ICfnDataCatalogProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Athena;
var cfnDataCatalogProps = new CfnDataCatalogProps {
Name = "name",
Type = "type",
// the properties below are optional
Description = "description",
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDataCatalogProps() |
Properties
Description | A description of the data catalog. |
Name | The name of the data catalog. |
Parameters | Specifies the Lambda function or functions to use for the data catalog. |
Tags | The tags (key-value pairs) to associate with this resource. |
Type | The type of data catalog: |
Constructors
CfnDataCatalogProps()
public CfnDataCatalogProps()
Properties
Description
A description of the data catalog.
public string Description { get; set; }
Property Value
System.String
Remarks
Name
The name of the data catalog.
public string Name { get; set; }
Property Value
System.String
Remarks
The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
Parameters
Specifies the Lambda function or functions to use for the data catalog.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
The mapping used depends on the catalog type.
metadata-function= lambda_arn , sdk-version= version_number
metadata-function= lambda_arn , record-function= lambda_arn
function= lambda_arn
catalog-id= catalog_id
Tags
The tags (key-value pairs) to associate with this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Type
The type of data catalog: LAMBDA
for a federated catalog, GLUE
for AWS Glue Catalog, or HIVE
for an external hive metastore.
public string Type { get; set; }
Property Value
System.String