
com.pulumi.awsnative.codeartifact.kotlin.outputs.GetDomainResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.codeartifact.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The ARN of the domain.
* @property name The name of the domain. This field is used for GetAtt
* @property owner The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt
* @property permissionsPolicyDocument The access control resource policy on the provided domain.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::CodeArtifact::Domain` for more information about the expected schema for this property.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetDomainResult(
public val arn: String? = null,
public val name: String? = null,
public val owner: String? = null,
public val permissionsPolicyDocument: Any? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codeartifact.outputs.GetDomainResult): GetDomainResult = GetDomainResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
owner = javaType.owner().map({ args0 -> args0 }).orElse(null),
permissionsPolicyDocument = javaType.permissionsPolicyDocument().map({ args0 ->
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