Interface CfnUserPoolClientPropsMixin.TokenValidityUnitsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserPoolClientPropsMixin.TokenValidityUnitsProperty.Jsii$Proxy
Enclosing class:
CfnUserPoolClientPropsMixin

@Stability(Stable) public static interface CfnUserPoolClientPropsMixin.TokenValidityUnitsProperty extends software.amazon.jsii.JsiiSerializable
The units that validity times are represented in.

The default unit for refresh tokens is days, and the default for ID and access tokens are hours.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.cognito.*;
 TokenValidityUnitsProperty tokenValidityUnitsProperty = TokenValidityUnitsProperty.builder()
         .accessToken("accessToken")
         .idToken("idToken")
         .refreshToken("refreshToken")
         .build();
 

See Also: