com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
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.gcp.iap.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property allowedDomainsSettings Settings to configure and enable allowed domains.
* Structure is documented below.
* @property corsSettings Configuration to allow cross-origin requests via IAP.
* Structure is documented below.
* @property gcipSettings GCIP claims and endpoint configurations for 3p identity providers.
* Structure is documented below.
* @property identitySources Identity sources that IAP can use to authenticate the end user. Only one identity source
* can be configured. The possible values are:
* * `WORKFORCE_IDENTITY_FEDERATION`: Use external identities set up on Google Cloud Workforce
* Identity Federation.
* Each value may be one of: `WORKFORCE_IDENTITY_FEDERATION`.
* @property oauthSettings Settings to configure IAP's OAuth behavior.
* Structure is documented below.
* @property reauthSettings Settings to configure reauthentication policies in IAP.
* Structure is documented below.
* @property workforceIdentitySettings Settings to configure the workforce identity federation, including workforce pools
* and OAuth 2.0 settings.
* Structure is documented below.
*/
public data class SettingsAccessSettings(
public val allowedDomainsSettings: SettingsAccessSettingsAllowedDomainsSettings? = null,
public val corsSettings: SettingsAccessSettingsCorsSettings? = null,
public val gcipSettings: SettingsAccessSettingsGcipSettings? = null,
public val identitySources: List? = null,
public val oauthSettings: SettingsAccessSettingsOauthSettings? = null,
public val reauthSettings: SettingsAccessSettingsReauthSettings? = null,
public val workforceIdentitySettings: SettingsAccessSettingsWorkforceIdentitySettings? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.iap.outputs.SettingsAccessSettings): SettingsAccessSettings = SettingsAccessSettings(
allowedDomainsSettings = javaType.allowedDomainsSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsAllowedDomainsSettings.Companion.toKotlin(args0)
})
}).orElse(null),
corsSettings = javaType.corsSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsCorsSettings.Companion.toKotlin(args0)
})
}).orElse(null),
gcipSettings = javaType.gcipSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsGcipSettings.Companion.toKotlin(args0)
})
}).orElse(null),
identitySources = javaType.identitySources().map({ args0 -> args0 }),
oauthSettings = javaType.oauthSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsOauthSettings.Companion.toKotlin(args0)
})
}).orElse(null),
reauthSettings = javaType.reauthSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsReauthSettings.Companion.toKotlin(args0)
})
}).orElse(null),
workforceIdentitySettings = javaType.workforceIdentitySettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.iap.kotlin.outputs.SettingsAccessSettingsWorkforceIdentitySettings.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy