We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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 dictionarydata "aws-native_cognito_get_user_pool_client_session_configuration_attachment" "name" {
# arguments
}The following arguments are supported:
- Client
Id string - The ID of the app client.
- User
Pool stringId - The ID of the user pool.
- Client
Id string - The ID of the app client.
- User
Pool stringId - The ID of the user pool.
- client_
id string - The ID of the app client.
- user_
pool_ stringid - The ID of the user pool.
- client
Id String - The ID of the app client.
- user
Pool StringId - The ID of the user pool.
- client
Id string - The ID of the app client.
- user
Pool stringId - The ID of the user pool.
- client_
id str - The ID of the app client.
- user_
pool_ strid - The ID of the user pool.
- client
Id String - The ID of the app client.
- user
Pool StringId - The ID of the user pool.
getUserPoolClientSessionConfigurationAttachment Result
The following output properties are available:
Supporting Types
UserPoolClientSessionConfigurationAttachmentSsoSession
- Max
Validity intMinutes - 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 intMinutes - 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_ numberminutes - 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 IntegerMinutes - 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 numberMinutes - 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_ intminutes - 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 NumberMinutes - 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
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi