AthenaTableReferenceProperty Struct
A reference to a table within Athena.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const athenaTableReferenceProperty: cleanrooms.CfnConfiguredTable.AthenaTableReferenceProperty = {
databaseName: 'databaseName',
tableName: 'tableName',
workGroup: 'workGroup',
// the properties below are optional
catalogName: 'catalogName',
outputLocation: 'outputLocation',
region: 'region',
};
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_cleanrooms as cleanrooms
athena_table_reference_property = cleanrooms.CfnConfiguredTable.AthenaTableReferenceProperty(
database_name="databaseName",
table_name="tableName",
work_group="workGroup",
# the properties below are optional
catalog_name="catalogName",
output_location="outputLocation",
region="region"
)
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.cleanrooms.*;
AthenaTableReferenceProperty athenaTableReferenceProperty = AthenaTableReferenceProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
.workGroup("workGroup")
// the properties below are optional
.catalogName("catalogName")
.outputLocation("outputLocation")
.region("region")
.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.CleanRooms;
var athenaTableReferenceProperty = new AthenaTableReferenceProperty {
DatabaseName = "databaseName",
TableName = "tableName",
WorkGroup = "workGroup",
// the properties below are optional
CatalogName = "catalogName",
OutputLocation = "outputLocation",
Region = "region"
};
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"
athenaTableReferenceProperty := &AthenaTableReferenceProperty{
DatabaseName: jsii.String("databaseName"),
TableName: jsii.String("tableName"),
WorkGroup: jsii.String("workGroup"),
// the properties below are optional
CatalogName: jsii.String("catalogName"),
OutputLocation: jsii.String("outputLocation"),
Region: jsii.String("region"),
}
Properties
catalogNameoptionalstringcatalog_nameoptionalstrcatalogNameoptionalStringCatalogNameoptionalstringCatalogNameoptional*string #databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #The database name.
outputLocationoptionalstringoutput_locationoptionalstroutputLocationoptionalStringOutputLocationoptionalstringOutputLocationoptional*string #The output location for the Athena table.
regionoptionalstringregionoptionalstrregionoptionalStringRegionoptionalstringRegionoptional*string #The AWS Region where the Athena table is located.
This parameter is required to uniquely identify and access tables across different Regions.
The table reference.
The workgroup of the Athena table reference.