Skip to content
v2.278.0

DatabaseResourceProperty Struct ​

A structure for the database object.

Example ​

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
# 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
// 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();
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
// 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 ​

catalogIdstringcatalog_idstrcatalogIdStringCatalogIdstringCatalogId*string required #
The identifier for the Data Catalog .

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

namestringnamestrnameStringNamestringName*string required #
The name of the database resource.

Unique to the Data Catalog.