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::UserPoolSessionConfigurationAttachment. Manages the session configuration of a user pool: whether user session tracking is enabled and the maximum number of concurrent token sessions per user. The service default (UserSessionTracking DISABLED with TokenSession MaxPerUser 20) cannot be declared; remove the resource to return the user pool to the default.
Using getUserPoolSessionConfigurationAttachment
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 getUserPoolSessionConfigurationAttachment(args: GetUserPoolSessionConfigurationAttachmentArgs, opts?: InvokeOptions): Promise<GetUserPoolSessionConfigurationAttachmentResult>
function getUserPoolSessionConfigurationAttachmentOutput(args: GetUserPoolSessionConfigurationAttachmentOutputArgs, opts?: InvokeOutputOptions): Output<GetUserPoolSessionConfigurationAttachmentResult>def get_user_pool_session_configuration_attachment(user_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserPoolSessionConfigurationAttachmentResult
def get_user_pool_session_configuration_attachment_output(user_pool_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetUserPoolSessionConfigurationAttachmentResult]func LookupUserPoolSessionConfigurationAttachment(ctx *Context, args *LookupUserPoolSessionConfigurationAttachmentArgs, opts ...InvokeOption) (*LookupUserPoolSessionConfigurationAttachmentResult, error)
func LookupUserPoolSessionConfigurationAttachmentOutput(ctx *Context, args *LookupUserPoolSessionConfigurationAttachmentOutputArgs, opts ...InvokeOption) LookupUserPoolSessionConfigurationAttachmentResultOutput> Note: This function is named LookupUserPoolSessionConfigurationAttachment in the Go SDK.
public static class GetUserPoolSessionConfigurationAttachment
{
public static Task<GetUserPoolSessionConfigurationAttachmentResult> InvokeAsync(GetUserPoolSessionConfigurationAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetUserPoolSessionConfigurationAttachmentResult> Invoke(GetUserPoolSessionConfigurationAttachmentInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetUserPoolSessionConfigurationAttachmentResult> Invoke(GetUserPoolSessionConfigurationAttachmentInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetUserPoolSessionConfigurationAttachmentResult> getUserPoolSessionConfigurationAttachment(GetUserPoolSessionConfigurationAttachmentArgs args, InvokeOptions options)
public static Output<GetUserPoolSessionConfigurationAttachmentResult> getUserPoolSessionConfigurationAttachment(GetUserPoolSessionConfigurationAttachmentArgs args, InvokeOptions options)
public static Output<GetUserPoolSessionConfigurationAttachmentResult> getUserPoolSessionConfigurationAttachment(GetUserPoolSessionConfigurationAttachmentArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:cognito:getUserPoolSessionConfigurationAttachment
arguments:
# arguments dictionarydata "aws-native_cognito_get_user_pool_session_configuration_attachment" "name" {
# arguments
}The following arguments are supported:
- User
Pool stringId - The ID of the user pool.
- User
Pool stringId - The ID of the user pool.
- user_
pool_ stringid - The ID of the user pool.
- user
Pool StringId - The ID of the user pool.
- user
Pool stringId - The ID of the user pool.
- user_
pool_ strid - The ID of the user pool.
- user
Pool StringId - The ID of the user pool.
getUserPoolSessionConfigurationAttachment Result
The following output properties are available:
- Token
Session Pulumi.Aws Native. Cognito. Outputs. User Pool Session Configuration Attachment Token Session - User
Session Pulumi.Tracking Aws Native. Cognito. User Pool Session Configuration Attachment User Session Tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
- Token
Session UserPool Session Configuration Attachment Token Session - User
Session UserTracking Pool Session Configuration Attachment User Session Tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
- token_
session object - user_
session_ "ENABLED" | "DISABLED"tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
- token
Session UserPool Session Configuration Attachment Token Session - user
Session UserTracking Pool Session Configuration Attachment User Session Tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
- token
Session UserPool Session Configuration Attachment Token Session - user
Session UserTracking Pool Session Configuration Attachment User Session Tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
- token_
session UserPool Session Configuration Attachment Token Session - user_
session_ Usertracking Pool Session Configuration Attachment User Session Tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
- token
Session Property Map - user
Session "ENABLED" | "DISABLED"Tracking - Whether server-side user session tracking is enabled for the user pool. Requires the ESSENTIALS or PLUS feature plan.
Supporting Types
UserPoolSessionConfigurationAttachmentTokenSession
- Max
Per intUser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
- Max
Per intUser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
- max_
per_ numberuser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
- max
Per IntegerUser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
- max
Per numberUser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
- max_
per_ intuser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
- max
Per NumberUser - The maximum number of concurrent token sessions per user across all app clients. When a new session would exceed this number, the least recently used session ends.
UserPoolSessionConfigurationAttachmentUserSessionTracking
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Name | Value |
|---|---|
| User | ENABLED |
| User | DISABLED |
| Value |
|---|
ENABLED |
DISABLED |
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Name | Value |
|---|---|
| Enabled | ENABLED |
| Disabled | DISABLED |
| Name | Value |
|---|---|
| ENABLED | ENABLED |
| DISABLED | DISABLED |
| Value |
|---|
ENABLED |
DISABLED |
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