We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::Glue::Session. Sessions provide an on-demand, serverless Apache Spark runtime environment for building, testing, and running data preparation and analytics applications.
Using getSession
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSession(args: GetSessionArgs, opts?: InvokeOptions): Promise<GetSessionResult>
function getSessionOutput(args: GetSessionOutputArgs, opts?: InvokeOutputOptions): Output<GetSessionResult>def get_session(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSessionResult
def get_session_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSessionResult]func LookupSession(ctx *Context, args *LookupSessionArgs, opts ...InvokeOption) (*LookupSessionResult, error)
func LookupSessionOutput(ctx *Context, args *LookupSessionOutputArgs, opts ...InvokeOption) LookupSessionResultOutput> Note: This function is named LookupSession in the Go SDK.
public static class GetSession
{
public static Task<GetSessionResult> InvokeAsync(GetSessionArgs args, InvokeOptions? opts = null)
public static Output<GetSessionResult> Invoke(GetSessionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSessionResult> Invoke(GetSessionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSessionResult> getSession(GetSessionArgs args, InvokeOptions options)
public static Output<GetSessionResult> getSession(GetSessionArgs args, InvokeOptions options)
public static Output<GetSessionResult> getSession(GetSessionArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:glue:getSession
arguments:
# arguments dictionarydata "aws-native_glue_get_session" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the session.
- Arn string
- The Amazon Resource Name (ARN) of the session.
- arn string
- The Amazon Resource Name (ARN) of the session.
- arn String
- The Amazon Resource Name (ARN) of the session.
- arn string
- The Amazon Resource Name (ARN) of the session.
- arn str
- The Amazon Resource Name (ARN) of the session.
- arn String
- The Amazon Resource Name (ARN) of the session.
getSession Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the session.
- Created
On string - The time and date when the session was created.
- Progress double
- The code execution progress of the session.
- Status
Pulumi.
Aws Native. Glue. Session Status - The session status.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags belonging to the session.
- arn string
- The Amazon Resource Name (ARN) of the session.
- created_
on string - The time and date when the session was created.
- progress number
- The code execution progress of the session.
- status "PROVISIONING" | "READY" | "FAILED" | "TIMEOUT" | "STOPPING" | "STOPPED"
- The session status.
- list(object)
- The tags belonging to the session.
- arn str
- The Amazon Resource Name (ARN) of the session.
- created_
on str - The time and date when the session was created.
- progress float
- The code execution progress of the session.
- status
Session
Status - The session status.
- Sequence[root_Tag]
- The tags belonging to the session.
- arn String
- The Amazon Resource Name (ARN) of the session.
- created
On String - The time and date when the session was created.
- progress Number
- The code execution progress of the session.
- status "PROVISIONING" | "READY" | "FAILED" | "TIMEOUT" | "STOPPING" | "STOPPED"
- The session status.
- List<Property Map>
- The tags belonging to the session.
Supporting Types
SessionStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi