com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipConfigmanagementConfigSync.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.gkehub.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property git (Optional) Structure is documented below.
* @property metricsGcpServiceAccountEmail The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring. The GSA should have the Monitoring Metric Writer(roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.
* @property oci (Optional) Supported from ACM versions 1.12.0 onwards. Structure is documented below.
* Use either `git` or `oci` config option.
* @property preventDrift Supported from ACM versions 1.10.0 onwards. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to "false", disables the Config Sync admission webhook and does not prevent drifts.
* @property sourceFormat Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
*/
public data class FeatureMembershipConfigmanagementConfigSync(
public val git: FeatureMembershipConfigmanagementConfigSyncGit? = null,
public val metricsGcpServiceAccountEmail: String? = null,
public val oci: FeatureMembershipConfigmanagementConfigSyncOci? = null,
public val preventDrift: Boolean? = null,
public val sourceFormat: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureMembershipConfigmanagementConfigSync): FeatureMembershipConfigmanagementConfigSync = FeatureMembershipConfigmanagementConfigSync(
git = javaType.git().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipConfigmanagementConfigSyncGit.Companion.toKotlin(args0)
})
}).orElse(null),
metricsGcpServiceAccountEmail = javaType.metricsGcpServiceAccountEmail().map({ args0 ->
args0
}).orElse(null),
oci = javaType.oci().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureMembershipConfigmanagementConfigSyncOci.Companion.toKotlin(args0)
})
}).orElse(null),
preventDrift = javaType.preventDrift().map({ args0 -> args0 }).orElse(null),
sourceFormat = javaType.sourceFormat().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy