All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.cognito.CfnIdentityPoolRoleAttachmentProps.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.cognito

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnIdentityPoolRoleAttachmentProps {

  def apply(
    identityPoolId: String,
    roleMappings: Option[Map[String, _]] = None,
    roles: Option[AnyRef] = None
  ): software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachmentProps =
    (new software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachmentProps.Builder)
      .identityPoolId(identityPoolId)
      .roleMappings(roleMappings.map(_.asJava).orNull)
      .roles(roles.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy