Interface ICfnDatabaseProps
Properties for defining a CfnDatabase
.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public interface ICfnDatabaseProps
Syntax (vb)
Public Interface ICfnDatabaseProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.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.Glue;
var parameters;
var cfnDatabaseProps = new CfnDatabaseProps {
CatalogId = "catalogId",
DatabaseInput = new DatabaseInputProperty {
CreateTableDefaultPermissions = new [] { new PrincipalPrivilegesProperty {
Permissions = new [] { "permissions" },
Principal = new DataLakePrincipalProperty {
DataLakePrincipalIdentifier = "dataLakePrincipalIdentifier"
}
} },
Description = "description",
FederatedDatabase = new FederatedDatabaseProperty {
ConnectionName = "connectionName",
Identifier = "identifier"
},
LocationUri = "locationUri",
Name = "name",
Parameters = parameters,
TargetDatabase = new DatabaseIdentifierProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName"
}
}
};
Synopsis
Properties
CatalogId | The AWS account ID for the account in which to create the catalog object. |
DatabaseInput | The metadata for the database. |
Properties
CatalogId
The AWS account ID for the account in which to create the catalog object.
string CatalogId { get; }
Property Value
System.String
Remarks
To specify the account ID, you can use the Ref
intrinsic function with the AWS::AccountId
pseudo parameter. For example: !Ref AWS::AccountId
DatabaseInput
The metadata for the database.
object DatabaseInput { get; }
Property Value
System.Object