Skip to content
v2.278.0

TrinoParametersProperty ​

Struct External

The parameters that are required to connect to a Trino data source.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const trinoParametersProperty: quicksight.CfnDataSource.TrinoParametersProperty = {
  catalog: 'catalog',
  host: 'host',
  port: 123,
};
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_quicksight as quicksight

trino_parameters_property = quicksight.CfnDataSource.TrinoParametersProperty(
    catalog="catalog",
    host="host",
    port=123
)
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.quicksight.*;

TrinoParametersProperty trinoParametersProperty = TrinoParametersProperty.builder()
        .catalog("catalog")
        .host("host")
        .port(123)
        .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.QuickSight;

var trinoParametersProperty = new TrinoParametersProperty {
    Catalog = "catalog",
    Host = "host",
    Port = 123
};
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"

trinoParametersProperty := &TrinoParametersProperty{
	Catalog: jsii.String("catalog"),
	Host: jsii.String("host"),
	Port: jsii.Number(123),
}

Properties ​

catalogstringcatalogstrcatalogStringCatalogstringCatalog*string required #
The catalog name for the Trino data source.
hoststringhoststrhostStringHoststringHost*string required #
The host name of the Trino data source.
portnumberportint | floatportNumberPortdoublePort*float64 = 0 required #
The port for the Trino data source.