1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cognito
  6. getUserPoolClientSessionConfigurationAttachment

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::Cognito::UserPoolClientSessionConfigurationAttachment. Manages the session configuration of a user pool app client. The settings take effect only while the user pool has UserSessionTracking ENABLED, so declaring DependsOn the AWS::Cognito::UserPoolSessionConfigurationAttachment is recommended. The service default (SSOSession MaxValidityMinutes 60) cannot be declared; remove the resource to return the app client to the default.

    Using getUserPoolClientSessionConfigurationAttachment

    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 getUserPoolClientSessionConfigurationAttachment(args: GetUserPoolClientSessionConfigurationAttachmentArgs, opts?: InvokeOptions): Promise<GetUserPoolClientSessionConfigurationAttachmentResult>
    function getUserPoolClientSessionConfigurationAttachmentOutput(args: GetUserPoolClientSessionConfigurationAttachmentOutputArgs, opts?: InvokeOutputOptions): Output<GetUserPoolClientSessionConfigurationAttachmentResult>
    def get_user_pool_client_session_configuration_attachment(client_id: Optional[str] = None,
                                                              user_pool_id: Optional[str] = None,
                                                              opts: Optional[InvokeOptions] = None) -> GetUserPoolClientSessionConfigurationAttachmentResult
    def get_user_pool_client_session_configuration_attachment_output(client_id: pulumi.Input[Optional[str]] = None,
                                                              user_pool_id: pulumi.Input[Optional[str]] = None,
                                                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetUserPoolClientSessionConfigurationAttachmentResult]
    func LookupUserPoolClientSessionConfigurationAttachment(ctx *Context, args *LookupUserPoolClientSessionConfigurationAttachmentArgs, opts ...InvokeOption) (*LookupUserPoolClientSessionConfigurationAttachmentResult, error)
    func LookupUserPoolClientSessionConfigurationAttachmentOutput(ctx *Context, args *LookupUserPoolClientSessionConfigurationAttachmentOutputArgs, opts ...InvokeOption) LookupUserPoolClientSessionConfigurationAttachmentResultOutput

    > Note: This function is named LookupUserPoolClientSessionConfigurationAttachment in the Go SDK.

    public static class GetUserPoolClientSessionConfigurationAttachment 
    {
        public static Task<GetUserPoolClientSessionConfigurationAttachmentResult> InvokeAsync(GetUserPoolClientSessionConfigurationAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetUserPoolClientSessionConfigurationAttachmentResult> Invoke(GetUserPoolClientSessionConfigurationAttachmentInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetUserPoolClientSessionConfigurationAttachmentResult> Invoke(GetUserPoolClientSessionConfigurationAttachmentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetUserPoolClientSessionConfigurationAttachmentResult> getUserPoolClientSessionConfigurationAttachment(GetUserPoolClientSessionConfigurationAttachmentArgs args, InvokeOptions options)
    public static Output<GetUserPoolClientSessionConfigurationAttachmentResult> getUserPoolClientSessionConfigurationAttachment(GetUserPoolClientSessionConfigurationAttachmentArgs args, InvokeOptions options)
    public static Output<GetUserPoolClientSessionConfigurationAttachmentResult> getUserPoolClientSessionConfigurationAttachment(GetUserPoolClientSessionConfigurationAttachmentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:cognito:getUserPoolClientSessionConfigurationAttachment
      arguments:
        # arguments dictionary
    data "aws-native_cognito_get_user_pool_client_session_configuration_attachment" "name" {
        # arguments
    }

    The following arguments are supported:

    ClientId string
    The ID of the app client.
    UserPoolId string
    The ID of the user pool.
    ClientId string
    The ID of the app client.
    UserPoolId string
    The ID of the user pool.
    client_id string
    The ID of the app client.
    user_pool_id string
    The ID of the user pool.
    clientId String
    The ID of the app client.
    userPoolId String
    The ID of the user pool.
    clientId string
    The ID of the app client.
    userPoolId string
    The ID of the user pool.
    client_id str
    The ID of the app client.
    user_pool_id str
    The ID of the user pool.
    clientId String
    The ID of the app client.
    userPoolId String
    The ID of the user pool.

    getUserPoolClientSessionConfigurationAttachment Result

    The following output properties are available:

    Supporting Types

    UserPoolClientSessionConfigurationAttachmentSsoSession

    MaxValidityMinutes int
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.
    MaxValidityMinutes int
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.
    max_validity_minutes number
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.
    maxValidityMinutes Integer
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.
    maxValidityMinutes number
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.
    max_validity_minutes int
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.
    maxValidityMinutes Number
    The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again. 0 means the app client always asks the user to sign in.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial