io.burkard.cdk.services.opensearchservice.CognitoOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.opensearchservice
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CognitoOptions {
def apply(
identityPoolId: String,
userPoolId: String,
role: software.amazon.awscdk.services.iam.IRole
): software.amazon.awscdk.services.opensearchservice.CognitoOptions =
(new software.amazon.awscdk.services.opensearchservice.CognitoOptions.Builder)
.identityPoolId(identityPoolId)
.userPoolId(userPoolId)
.role(role)
.build()
}