We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
Definition of AWS::Bedrock::Session Resource Type
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(session_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSessionResult
def get_session_output(session_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:bedrock:getSession
arguments:
# arguments dictionarydata "aws-native_bedrock_get_session" "name" {
# arguments
}The following arguments are supported:
- Session
Arn string - The Amazon Resource Name (ARN) of the session.
- Session
Arn string - The Amazon Resource Name (ARN) of the session.
- session_
arn string - The Amazon Resource Name (ARN) of the session.
- session
Arn String - The Amazon Resource Name (ARN) of the session.
- session
Arn string - The Amazon Resource Name (ARN) of the session.
- session_
arn str - The Amazon Resource Name (ARN) of the session.
- session
Arn String - The Amazon Resource Name (ARN) of the session.
getSession Result
The following output properties are available:
- Created
At string - The timestamp for when the session was created.
- Last
Updated stringAt - The timestamp for when the session was last modified.
- Session
Arn string - The Amazon Resource Name (ARN) of the session.
- Session
Id string - The unique identifier of the session in UUID format.
- Session
Metadata Dictionary<string, string> - A map of key-value pairs containing attributes to be persisted across the session.
- Session
Status Pulumi.Aws Native. Bedrock. Session Status - The current status of the session.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of tags associated with the session.
- Created
At string - The timestamp for when the session was created.
- Last
Updated stringAt - The timestamp for when the session was last modified.
- Session
Arn string - The Amazon Resource Name (ARN) of the session.
- Session
Id string - The unique identifier of the session in UUID format.
- Session
Metadata map[string]string - A map of key-value pairs containing attributes to be persisted across the session.
- Session
Status SessionStatus - The current status of the session.
- Tag
- A list of tags associated with the session.
- created_
at string - The timestamp for when the session was created.
- last_
updated_ stringat - The timestamp for when the session was last modified.
- session_
arn string - The Amazon Resource Name (ARN) of the session.
- session_
id string - The unique identifier of the session in UUID format.
- session_
metadata map(string) - A map of key-value pairs containing attributes to be persisted across the session.
- session_
status "ACTIVE" | "EXPIRED" | "ENDED" - The current status of the session.
- list(object)
- A list of tags associated with the session.
- created
At String - The timestamp for when the session was created.
- last
Updated StringAt - The timestamp for when the session was last modified.
- session
Arn String - The Amazon Resource Name (ARN) of the session.
- session
Id String - The unique identifier of the session in UUID format.
- session
Metadata Map<String,String> - A map of key-value pairs containing attributes to be persisted across the session.
- session
Status SessionStatus - The current status of the session.
- List<Tag>
- A list of tags associated with the session.
- created
At string - The timestamp for when the session was created.
- last
Updated stringAt - The timestamp for when the session was last modified.
- session
Arn string - The Amazon Resource Name (ARN) of the session.
- session
Id string - The unique identifier of the session in UUID format.
- session
Metadata {[key: string]: string} - A map of key-value pairs containing attributes to be persisted across the session.
- session
Status SessionStatus - The current status of the session.
- Tag[]
- A list of tags associated with the session.
- created_
at str - The timestamp for when the session was created.
- last_
updated_ strat - The timestamp for when the session was last modified.
- session_
arn str - The Amazon Resource Name (ARN) of the session.
- session_
id str - The unique identifier of the session in UUID format.
- session_
metadata Mapping[str, str] - A map of key-value pairs containing attributes to be persisted across the session.
- session_
status SessionStatus - The current status of the session.
- Sequence[root_Tag]
- A list of tags associated with the session.
- created
At String - The timestamp for when the session was created.
- last
Updated StringAt - The timestamp for when the session was last modified.
- session
Arn String - The Amazon Resource Name (ARN) of the session.
- session
Id String - The unique identifier of the session in UUID format.
- session
Metadata Map<String> - A map of key-value pairs containing attributes to be persisted across the session.
- session
Status "ACTIVE" | "EXPIRED" | "ENDED" - The current status of the session.
- List<Property Map>
- A list of tags associated with 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.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi