Skip to content
v2.277.0

SparkParametersProperty Struct ​

The parameters for Spark.

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 sparkParametersProperty: quicksight.CfnDataSource.SparkParametersProperty = {
  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

spark_parameters_property = quicksight.CfnDataSource.SparkParametersProperty(
    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.*;

SparkParametersProperty sparkParametersProperty = SparkParametersProperty.builder()
        .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 sparkParametersProperty = new SparkParametersProperty {
    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"

sparkParametersProperty := &SparkParametersProperty{
	Host: jsii.String("host"),
	Port: jsii.Number(123),
}

Properties ​

hoststringhoststrhostStringHoststringHost*stringrequired#
Host.
portnumberportint | floatportNumberPortdoublePort*float64= 0required#
Port.