![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.codestarconnections.kotlin.outputs.GetSyncConfigurationResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codestarconnections.kotlin.outputs
import com.pulumi.awsnative.codestarconnections.kotlin.enums.SyncConfigurationProviderType
import com.pulumi.awsnative.codestarconnections.kotlin.enums.SyncConfigurationPublishDeploymentStatus
import com.pulumi.awsnative.codestarconnections.kotlin.enums.SyncConfigurationTriggerResourceUpdateOn
import kotlin.String
import kotlin.Suppress
/**
*
* @property branch The name of the branch of the repository from which resources are to be synchronized,
* @property configFile The source provider repository path of the sync configuration file of the respective SyncType.
* @property ownerId the ID of the entity that owns the repository.
* @property providerType The name of the external provider where your third-party code repository is configured.
* @property publishDeploymentStatus Whether to enable or disable publishing of deployment status to source providers.
* @property repositoryLinkId A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
* @property repositoryName The name of the repository that is being synced to.
* @property roleArn The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
* @property triggerResourceUpdateOn When to trigger Git sync to begin the stack update.
*/
public data class GetSyncConfigurationResult(
public val branch: String? = null,
public val configFile: String? = null,
public val ownerId: String? = null,
public val providerType: SyncConfigurationProviderType? = null,
public val publishDeploymentStatus: SyncConfigurationPublishDeploymentStatus? = null,
public val repositoryLinkId: String? = null,
public val repositoryName: String? = null,
public val roleArn: String? = null,
public val triggerResourceUpdateOn: SyncConfigurationTriggerResourceUpdateOn? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codestarconnections.outputs.GetSyncConfigurationResult): GetSyncConfigurationResult = GetSyncConfigurationResult(
branch = javaType.branch().map({ args0 -> args0 }).orElse(null),
configFile = javaType.configFile().map({ args0 -> args0 }).orElse(null),
ownerId = javaType.ownerId().map({ args0 -> args0 }).orElse(null),
providerType = javaType.providerType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codestarconnections.kotlin.enums.SyncConfigurationProviderType.Companion.toKotlin(args0)
})
}).orElse(null),
publishDeploymentStatus = javaType.publishDeploymentStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codestarconnections.kotlin.enums.SyncConfigurationPublishDeploymentStatus.Companion.toKotlin(args0)
})
}).orElse(null),
repositoryLinkId = javaType.repositoryLinkId().map({ args0 -> args0 }).orElse(null),
repositoryName = javaType.repositoryName().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
triggerResourceUpdateOn = javaType.triggerResourceUpdateOn().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codestarconnections.kotlin.enums.SyncConfigurationTriggerResourceUpdateOn.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy