Skip to content
v2.278.0

SparkEmrPropertiesInputProperty Struct ​

The Spark EMR properties.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const sparkEmrPropertiesInputProperty: datazone.CfnConnection.SparkEmrPropertiesInputProperty = {
  computeArn: 'computeArn',
  instanceProfileArn: 'instanceProfileArn',
  javaVirtualEnv: 'javaVirtualEnv',
  logUri: 'logUri',
  managedEndpointArn: 'managedEndpointArn',
  pythonVirtualEnv: 'pythonVirtualEnv',
  runtimeRole: 'runtimeRole',
  trustedCertificatesS3Uri: 'trustedCertificatesS3Uri',
};
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_datazone as datazone

spark_emr_properties_input_property = datazone.CfnConnection.SparkEmrPropertiesInputProperty(
    compute_arn="computeArn",
    instance_profile_arn="instanceProfileArn",
    java_virtual_env="javaVirtualEnv",
    log_uri="logUri",
    managed_endpoint_arn="managedEndpointArn",
    python_virtual_env="pythonVirtualEnv",
    runtime_role="runtimeRole",
    trusted_certificates_s3_uri="trustedCertificatesS3Uri"
)
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.datazone.*;

SparkEmrPropertiesInputProperty sparkEmrPropertiesInputProperty = SparkEmrPropertiesInputProperty.builder()
        .computeArn("computeArn")
        .instanceProfileArn("instanceProfileArn")
        .javaVirtualEnv("javaVirtualEnv")
        .logUri("logUri")
        .managedEndpointArn("managedEndpointArn")
        .pythonVirtualEnv("pythonVirtualEnv")
        .runtimeRole("runtimeRole")
        .trustedCertificatesS3Uri("trustedCertificatesS3Uri")
        .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.DataZone;

var sparkEmrPropertiesInputProperty = new SparkEmrPropertiesInputProperty {
    ComputeArn = "computeArn",
    InstanceProfileArn = "instanceProfileArn",
    JavaVirtualEnv = "javaVirtualEnv",
    LogUri = "logUri",
    ManagedEndpointArn = "managedEndpointArn",
    PythonVirtualEnv = "pythonVirtualEnv",
    RuntimeRole = "runtimeRole",
    TrustedCertificatesS3Uri = "trustedCertificatesS3Uri"
};
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"

sparkEmrPropertiesInputProperty := &SparkEmrPropertiesInputProperty{
	ComputeArn: jsii.String("computeArn"),
	InstanceProfileArn: jsii.String("instanceProfileArn"),
	JavaVirtualEnv: jsii.String("javaVirtualEnv"),
	LogUri: jsii.String("logUri"),
	ManagedEndpointArn: jsii.String("managedEndpointArn"),
	PythonVirtualEnv: jsii.String("pythonVirtualEnv"),
	RuntimeRole: jsii.String("runtimeRole"),
	TrustedCertificatesS3Uri: jsii.String("trustedCertificatesS3Uri"),
}

Properties ​

computeArnoptionalstringcompute_arnoptionalstrcomputeArnoptionalStringComputeArnoptionalstringComputeArnoptional*string #
The compute ARN of Spark EMR.
instanceProfileArnoptionalstringinstance_profile_arnoptionalstrinstanceProfileArnoptionalStringInstanceProfileArnoptionalstringInstanceProfileArnoptional*string #
The instance profile ARN of Spark EMR.
javaVirtualEnvoptionalstringjava_virtual_envoptionalstrjavaVirtualEnvoptionalStringJavaVirtualEnvoptionalstringJavaVirtualEnvoptional*string #
The java virtual env of the Spark EMR.
logUrioptionalstringlog_urioptionalstrlogUrioptionalStringLogUrioptionalstringLogUrioptional*string #
The log URI of the Spark EMR.
managedEndpointArnoptionalstringmanaged_endpoint_arnoptionalstrmanagedEndpointArnoptionalStringManagedEndpointArnoptionalstringManagedEndpointArnoptional*string #
pythonVirtualEnvoptionalstringpython_virtual_envoptionalstrpythonVirtualEnvoptionalStringPythonVirtualEnvoptionalstringPythonVirtualEnvoptional*string #
The Python virtual env of the Spark EMR.
runtimeRoleoptionalstringruntime_roleoptionalstrruntimeRoleoptionalStringRuntimeRoleoptionalstringRuntimeRoleoptional*string #
The runtime role of the Spark EMR.
trustedCertificatesS3Urioptionalstringtrusted_certificates_s3_urioptionalstrtrustedCertificatesS3UrioptionalStringTrustedCertificatesS3UrioptionalstringTrustedCertificatesS3Urioptional*string #
The certificates S3 URI of the Spark EMR.