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

com.pulumi.awsnative.proton.kotlin.outputs.GetEnvironmentAccountConnectionResult.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.proton.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.proton.kotlin.enums.EnvironmentAccountConnectionStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the environment account connection.
 * @property codebuildRoleArn The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
 * @property componentRoleArn The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
 * @property environmentAccountId The environment account that's connected to the environment account connection.
 * @property environmentName The name of the AWS Proton environment that's created in the associated management account.
 * @property id The ID of the environment account connection.
 * @property managementAccountId The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
 * @property roleArn The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account.
 * @property status The status of the environment account connection.
 * @property tags 

An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.

*

For more information, see Proton resources and tagging in the * Proton User Guide.

*/ public data class GetEnvironmentAccountConnectionResult( public val arn: String? = null, public val codebuildRoleArn: String? = null, public val componentRoleArn: String? = null, public val environmentAccountId: String? = null, public val environmentName: String? = null, public val id: String? = null, public val managementAccountId: String? = null, public val roleArn: String? = null, public val status: EnvironmentAccountConnectionStatus? = null, public val tags: List? = null, ) { public companion object { public fun toKotlin(javaType: com.pulumi.awsnative.proton.outputs.GetEnvironmentAccountConnectionResult): GetEnvironmentAccountConnectionResult = GetEnvironmentAccountConnectionResult( arn = javaType.arn().map({ args0 -> args0 }).orElse(null), codebuildRoleArn = javaType.codebuildRoleArn().map({ args0 -> args0 }).orElse(null), componentRoleArn = javaType.componentRoleArn().map({ args0 -> args0 }).orElse(null), environmentAccountId = javaType.environmentAccountId().map({ args0 -> args0 }).orElse(null), environmentName = javaType.environmentName().map({ args0 -> args0 }).orElse(null), id = javaType.id().map({ args0 -> args0 }).orElse(null), managementAccountId = javaType.managementAccountId().map({ args0 -> args0 }).orElse(null), roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null), status = javaType.status().map({ args0 -> args0.let({ args0 -> com.pulumi.awsnative.proton.kotlin.enums.EnvironmentAccountConnectionStatus.Companion.toKotlin(args0) }) }).orElse(null), tags = javaType.tags().map({ args0 -> args0.let({ args0 -> com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0) }) }), ) } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy