Skip to content
v2.277.0

OracleParametersProperty Struct ​

Oracle parameters.

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 oracleParametersProperty: quicksight.CfnDataSource.OracleParametersProperty = {
  database: 'database',
  host: 'host',
  port: 123,

  // the properties below are optional
  useServiceName: false,
};
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

oracle_parameters_property = quicksight.CfnDataSource.OracleParametersProperty(
    database="database",
    host="host",
    port=123,

    # the properties below are optional
    use_service_name=False
)
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.*;

OracleParametersProperty oracleParametersProperty = OracleParametersProperty.builder()
        .database("database")
        .host("host")
        .port(123)

        // the properties below are optional
        .useServiceName(false)
        .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 oracleParametersProperty = new OracleParametersProperty {
    Database = "database",
    Host = "host",
    Port = 123,

    // the properties below are optional
    UseServiceName = false
};
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"

oracleParametersProperty := &OracleParametersProperty{
	Database: jsii.String("database"),
	Host: jsii.String("host"),
	Port: jsii.Number(123),

	// the properties below are optional
	UseServiceName: jsii.Boolean(false),
}

Properties ​

databasestringdatabasestrdatabaseStringDatabasestringDatabase*stringrequired#
Database.
hoststringhoststrhostStringHoststringHost*stringrequired#
Host.
portnumberportint | floatportNumberPortdoublePort*float64= 0required#
Port.
useServiceNameoptionalboolean | IResolvableuse_service_nameoptionaltyping.Union[bool, IResolvable]useServiceNameoptionalBooleanUseServiceNameoptionalboolUseServiceNameoptionalinterface{}= false#
A Boolean value that indicates whether the `Database` uses a service name or an SID.

If this value is left blank, the default value is SID . If this value is set to false , the value is SID .