Interface CfnSessionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSessionMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:27.976Z")
@Stability(Stable)
public interface CfnSessionMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnSessionPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.glue.*;
CfnSessionMixinProps cfnSessionMixinProps = CfnSessionMixinProps.builder()
.command(SessionCommandProperty.builder()
.name("name")
.pythonVersion("pythonVersion")
.build())
.connections(ConnectionsListProperty.builder()
.connections(List.of("connections"))
.build())
.defaultArguments(Map.of(
"defaultArgumentsKey", "defaultArguments"))
.description("description")
.glueVersion("glueVersion")
.id("id")
.idleTimeout(123)
.maxCapacity(123)
.numberOfWorkers(123)
.requestOrigin("requestOrigin")
.role("role")
.securityConfiguration("securityConfiguration")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeout(123)
.workerType("workerType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSessionMixinPropsstatic final classAn implementation forCfnSessionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSessionMixinProps.Builderbuilder()default ObjectThe SessionCommand that runs the job.default ObjectSpecifies the connections used by the session.default ObjectA map array of key-value pairs.default StringThe description of the session.default StringThe Glue version determines the versions of Apache Spark and Python that Glue supports.default StringgetId()The ID of the session.default NumberThe number of minutes when idle before session times out.default NumberThe number of Glue data processing units (DPUs) that can be allocated when the job runs.default NumberThe number of workers of a defined WorkerType to use for the session.default StringThe origin of the request.default StringgetRole()The IAM Role ARN.default StringThe name of the SecurityConfiguration structure to be used with the session.getTags()The tags belonging to the session.default NumberThe number of minutes before session times out.default StringThe type of predefined worker that is allocated when a session runs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCommand
The SessionCommand that runs the job.Returns union: either
IResolvableorCfnSessionPropsMixin.SessionCommandProperty- See Also:
-
getConnections
Specifies the connections used by the session.Returns union: either
IResolvableorCfnSessionPropsMixin.ConnectionsListProperty- See Also:
-
getDefaultArguments
A map array of key-value pairs.Max is 75 pairs.
Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getDescription
The description of the session.- See Also:
-
getGlueVersion
The Glue version determines the versions of Apache Spark and Python that Glue supports.The GlueVersion must be greater than 2.0.
- See Also:
-
getId
The ID of the session.- See Also:
-
getIdleTimeout
The number of minutes when idle before session times out.Default is the value of Timeout.
- See Also:
-
getMaxCapacity
The number of Glue data processing units (DPUs) that can be allocated when the job runs.- See Also:
-
getNumberOfWorkers
The number of workers of a defined WorkerType to use for the session.- See Also:
-
getRequestOrigin
The origin of the request.- See Also:
-
getRole
The IAM Role ARN.- See Also:
-
getSecurityConfiguration
The name of the SecurityConfiguration structure to be used with the session.- See Also:
-
getTags
The tags belonging to the session.- See Also:
-
getTimeout
The number of minutes before session times out.- See Also:
-
getWorkerType
The type of predefined worker that is allocated when a session runs.- See Also:
-
builder
- Returns:
- a
CfnSessionMixinProps.BuilderofCfnSessionMixinProps
-