io.burkard.cdk.services.cognito.RoleMappingProperty.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.cognito
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RoleMappingProperty {
def apply(
`type`: String,
rulesConfiguration: Option[software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty] = None,
identityProvider: Option[String] = None,
ambiguousRoleResolution: Option[String] = None
): software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RoleMappingProperty =
(new software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RoleMappingProperty.Builder)
.`type`(`type`)
.rulesConfiguration(rulesConfiguration.orNull)
.identityProvider(identityProvider.orNull)
.ambiguousRoleResolution(ambiguousRoleResolution.orNull)
.build()
}