CfnUserPoolClientSessionConfigurationAttachmentProps Struct
Properties for defining a CfnUserPoolClientSessionConfigurationAttachment.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const cfnUserPoolClientSessionConfigurationAttachmentProps: cognito.CfnUserPoolClientSessionConfigurationAttachmentProps = {
clientId: 'clientId',
ssoSession: {
maxValidityMinutes: 123,
},
userPoolId: 'userPoolId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito
cfn_user_pool_client_session_configuration_attachment_props = cognito.CfnUserPoolClientSessionConfigurationAttachmentProps(
client_id="clientId",
sso_session=cognito.CfnUserPoolClientSessionConfigurationAttachment.SSOSessionProperty(
max_validity_minutes=123
),
user_pool_id="userPoolId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
CfnUserPoolClientSessionConfigurationAttachmentProps cfnUserPoolClientSessionConfigurationAttachmentProps = CfnUserPoolClientSessionConfigurationAttachmentProps.builder()
.clientId("clientId")
.ssoSession(SSOSessionProperty.builder()
.maxValidityMinutes(123)
.build())
.userPoolId("userPoolId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var cfnUserPoolClientSessionConfigurationAttachmentProps = new CfnUserPoolClientSessionConfigurationAttachmentProps {
ClientId = "clientId",
SsoSession = new SSOSessionProperty {
MaxValidityMinutes = 123
},
UserPoolId = "userPoolId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnUserPoolClientSessionConfigurationAttachmentProps := &CfnUserPoolClientSessionConfigurationAttachmentProps{
ClientId: jsii.String("clientId"),
SsoSession: &SSOSessionProperty{
MaxValidityMinutes: jsii.Number(123),
},
UserPoolId: jsii.String("userPoolId"),
}
Properties
The ID of the app client.
ssoSessionIResolvable | CfnUserPoolClientSessionConfigurationAttachment.sso_sessiontyping.Union[IResolvable, SSOSessionProperty]ssoSessionIResolvableSsoSessionIResolvableSsoSessioninterface{} required #Managed login single sign-on session settings for the app client.
The ID of the user pool.