Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cognito.kotlin
import com.pulumi.awsnative.cognito.IdentityPoolArgs.builder
import com.pulumi.awsnative.cognito.kotlin.inputs.IdentityPoolCognitoIdentityProviderArgs
import com.pulumi.awsnative.cognito.kotlin.inputs.IdentityPoolCognitoIdentityProviderArgsBuilder
import com.pulumi.awsnative.cognito.kotlin.inputs.IdentityPoolCognitoStreamsArgs
import com.pulumi.awsnative.cognito.kotlin.inputs.IdentityPoolCognitoStreamsArgsBuilder
import com.pulumi.awsnative.cognito.kotlin.inputs.IdentityPoolPushSyncArgs
import com.pulumi.awsnative.cognito.kotlin.inputs.IdentityPoolPushSyncArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Cognito::IdentityPool
* @property allowClassicFlow Enables the Basic (Classic) authentication flow.
* @property allowUnauthenticatedIdentities Specifies whether the identity pool supports unauthenticated logins.
* @property cognitoEvents The events to configure.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Cognito::IdentityPool` for more information about the expected schema for this property.
* @property cognitoIdentityProviders The Amazon Cognito user pools and their client IDs.
* @property cognitoStreams Configuration options for configuring Amazon Cognito streams.
* @property developerProviderName The "domain" Amazon Cognito uses when referencing your users. This name acts as a placeholder that allows your backend and the Amazon Cognito service to communicate about the developer provider. For the `DeveloperProviderName` , you can use letters and periods (.), underscores (_), and dashes (-).
* *Minimum length* : 1
* *Maximum length* : 100
* @property identityPoolName The name of your Amazon Cognito identity pool.
* *Minimum length* : 1
* *Maximum length* : 128
* *Pattern* : `[\w\s+=,.@-]+`
* @property openIdConnectProviderArns The Amazon Resource Names (ARNs) of the OpenID connect providers.
* @property pushSync The configuration options to be applied to the identity pool.
* @property samlProviderArns The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
* @property supportedLoginProviders Key-value pairs that map provider names to provider app IDs.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Cognito::IdentityPool` for more information about the expected schema for this property.
*/
public data class IdentityPoolArgs(
public val allowClassicFlow: Output? = null,
public val allowUnauthenticatedIdentities: Output? = null,
public val cognitoEvents: Output? = null,
public val cognitoIdentityProviders: Output>? =
null,
public val cognitoStreams: Output? = null,
public val developerProviderName: Output? = null,
public val identityPoolName: Output? = null,
public val openIdConnectProviderArns: Output>? = null,
public val pushSync: Output? = null,
public val samlProviderArns: Output>? = null,
public val supportedLoginProviders: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cognito.IdentityPoolArgs =
com.pulumi.awsnative.cognito.IdentityPoolArgs.builder()
.allowClassicFlow(allowClassicFlow?.applyValue({ args0 -> args0 }))
.allowUnauthenticatedIdentities(allowUnauthenticatedIdentities?.applyValue({ args0 -> args0 }))
.cognitoEvents(cognitoEvents?.applyValue({ args0 -> args0 }))
.cognitoIdentityProviders(
cognitoIdentityProviders?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.cognitoStreams(cognitoStreams?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.developerProviderName(developerProviderName?.applyValue({ args0 -> args0 }))
.identityPoolName(identityPoolName?.applyValue({ args0 -> args0 }))
.openIdConnectProviderArns(
openIdConnectProviderArns?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.pushSync(pushSync?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.samlProviderArns(samlProviderArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.supportedLoginProviders(supportedLoginProviders?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IdentityPoolArgs].
*/
@PulumiTagMarker
public class IdentityPoolArgsBuilder internal constructor() {
private var allowClassicFlow: Output? = null
private var allowUnauthenticatedIdentities: Output? = null
private var cognitoEvents: Output? = null
private var cognitoIdentityProviders: Output>? =
null
private var cognitoStreams: Output? = null
private var developerProviderName: Output? = null
private var identityPoolName: Output? = null
private var openIdConnectProviderArns: Output>? = null
private var pushSync: Output? = null
private var samlProviderArns: Output>? = null
private var supportedLoginProviders: Output? = null
/**
* @param value Enables the Basic (Classic) authentication flow.
*/
@JvmName("wyvgfllriwlueimp")
public suspend fun allowClassicFlow(`value`: Output) {
this.allowClassicFlow = value
}
/**
* @param value Specifies whether the identity pool supports unauthenticated logins.
*/
@JvmName("kvqrnewrkngewyby")
public suspend fun allowUnauthenticatedIdentities(`value`: Output) {
this.allowUnauthenticatedIdentities = value
}
/**
* @param value The events to configure.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Cognito::IdentityPool` for more information about the expected schema for this property.
*/
@JvmName("qbbrpyhgaicrurda")
public suspend fun cognitoEvents(`value`: Output) {
this.cognitoEvents = value
}
/**
* @param value The Amazon Cognito user pools and their client IDs.
*/
@JvmName("itbjjhqftwqdncie")
public suspend fun cognitoIdentityProviders(`value`: Output>) {
this.cognitoIdentityProviders = value
}
@JvmName("tgfiftwqyrqhdbpo")
public suspend fun cognitoIdentityProviders(vararg values: Output) {
this.cognitoIdentityProviders = Output.all(values.asList())
}
/**
* @param values The Amazon Cognito user pools and their client IDs.
*/
@JvmName("jlkjggebamegeugh")
public suspend fun cognitoIdentityProviders(values: List