All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.apprunner.kotlin.outputs.ServiceSourceConfigurationAuthenticationConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.apprunner.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property accessRoleArn ARN of the IAM role that grants the App Runner service access to a source repository. Required for ECR image repositories (but not for ECR Public)
 * @property connectionArn ARN of the App Runner connection that enables the App Runner service to connect to a source repository. Required for GitHub code repositories.
 */
public data class ServiceSourceConfigurationAuthenticationConfiguration(
    public val accessRoleArn: String? = null,
    public val connectionArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.apprunner.outputs.ServiceSourceConfigurationAuthenticationConfiguration): ServiceSourceConfigurationAuthenticationConfiguration =
            ServiceSourceConfigurationAuthenticationConfiguration(
                accessRoleArn = javaType.accessRoleArn().map({ args0 -> args0 }).orElse(null),
                connectionArn = javaType.connectionArn().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy