Skip to content
v2.277.0

InteractiveConfigurationProperty Struct ​

The configuration to use to enable the different types of interactive use cases in an application.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const interactiveConfigurationProperty: emrserverless.CfnApplication.InteractiveConfigurationProperty = {
  livyEndpointEnabled: false,
  sessionEnabled: false,
  studioEnabled: 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_emrserverless as emrserverless

interactive_configuration_property = emrserverless.CfnApplication.InteractiveConfigurationProperty(
    livy_endpoint_enabled=False,
    session_enabled=False,
    studio_enabled=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.emrserverless.*;

InteractiveConfigurationProperty interactiveConfigurationProperty = InteractiveConfigurationProperty.builder()
        .livyEndpointEnabled(false)
        .sessionEnabled(false)
        .studioEnabled(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.EMRServerless;

var interactiveConfigurationProperty = new InteractiveConfigurationProperty {
    LivyEndpointEnabled = false,
    SessionEnabled = false,
    StudioEnabled = 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"

interactiveConfigurationProperty := &InteractiveConfigurationProperty{
	LivyEndpointEnabled: jsii.Boolean(false),
	SessionEnabled: jsii.Boolean(false),
	StudioEnabled: jsii.Boolean(false),
}

Properties ​

livyEndpointEnabledoptionalboolean | IResolvablelivy_endpoint_enabledoptionaltyping.Union[bool, IResolvable]livyEndpointEnabledoptionalBooleanLivyEndpointEnabledoptionalboolLivyEndpointEnabledoptionalinterface{} = false #
Enables an Apache Livy endpoint that you can connect to and run interactive jobs.
sessionEnabledoptionalboolean | IResolvablesession_enabledoptionaltyping.Union[bool, IResolvable]sessionEnabledoptionalBooleanSessionEnabledoptionalboolSessionEnabledoptionalinterface{} = false #
Enables interactive sessions on the application.
studioEnabledoptionalboolean | IResolvablestudio_enabledoptionaltyping.Union[bool, IResolvable]studioEnabledoptionalBooleanStudioEnabledoptionalboolStudioEnabledoptionalinterface{} = false #
Enables you to connect an application to Amazon EMR Studio to run interactive workloads in a notebook.