# DatabaseResourceProperty

Struct · External

A structure for the database object.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';
const databaseResourceProperty: lakeformation.CfnTagAssociation.DatabaseResourceProperty = {
  catalogId: 'catalogId',
  name: 'name',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lakeformation as lakeformation

database_resource_property = lakeformation.CfnTagAssociation.DatabaseResourceProperty(
    catalog_id="catalogId",
    name="name"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lakeformation.*;

DatabaseResourceProperty databaseResourceProperty = DatabaseResourceProperty.builder()
        .catalogId("catalogId")
        .name("name")
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LakeFormation;

var databaseResourceProperty = new DatabaseResourceProperty {
    CatalogId = "catalogId",
    Name = "name"
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

databaseResourceProperty := &DatabaseResourceProperty{
	CatalogId: jsii.String("catalogId"),
	Name: jsii.String("name"),
}
```

## Properties

- `catalogId`: string (required) — The identifier for the Data Catalog .

  By default, it should be the account ID of the caller.

- `name`: string (required) — The name of the database resource.

  Unique to the Data Catalog.
