protected VerifiedPermissionsClient buildAmazonVerifiedPermissionsClient() {
        val resolver = SpringExpressionLanguageValueResolver.getInstance();
        val provider = ChainingAWSCredentialsProvider.getInstance(
            resolver.resolve(credentialAccessKey),
            resolver.resolve(credentialSecretKey));
        val clientConfig = ClientOverrideConfiguration.builder()
            .apiCallTimeout(Duration.ofSeconds(5))
            .apiCallAttemptTimeout(Duration.ofSeconds(5))
            .retryStrategy(RetryMode.STANDARD)
            .build();
        return VerifiedPermissionsClient.builder()
            .defaultsMode(DefaultsMode.STANDARD)
            .region(StringUtils.isBlank(region) ? Region.US_EAST_1 : Region.of(resolver.resolve(region)))
            .credentialsProvider(provider)
            .overrideConfiguration(clientConfig)
            .build();
    }
This is {@link AmazonVerifiedPermissionsRegisteredServiceAccessStrategy}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-aws/src/main/java/org/apereo/cas/aws/authz/AmazonVerifiedPermissionsRegisteredServiceAccessStrategy.java