
com.pulumi.awsnative.signer.kotlin.SignerFunctions.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.signer.kotlin
import com.pulumi.awsnative.signer.SignerFunctions.getSigningProfilePlain
import com.pulumi.awsnative.signer.kotlin.inputs.GetSigningProfilePlainArgs
import com.pulumi.awsnative.signer.kotlin.inputs.GetSigningProfilePlainArgsBuilder
import com.pulumi.awsnative.signer.kotlin.outputs.GetSigningProfileResult
import com.pulumi.awsnative.signer.kotlin.outputs.GetSigningProfileResult.Companion.toKotlin
import kotlinx.coroutines.future.await
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
public object SignerFunctions {
/**
* A signing profile is a signing template that can be used to carry out a pre-defined signing job.
* @param argument null
* @return null
*/
public suspend fun getSigningProfile(argument: GetSigningProfilePlainArgs): GetSigningProfileResult = toKotlin(getSigningProfilePlain(argument.toJava()).await())
/**
* @see [getSigningProfile].
* @param arn The Amazon Resource Name (ARN) of the specified signing profile.
* @return null
*/
public suspend fun getSigningProfile(arn: String): GetSigningProfileResult {
val argument = GetSigningProfilePlainArgs(
arn = arn,
)
return toKotlin(getSigningProfilePlain(argument.toJava()).await())
}
/**
* @see [getSigningProfile].
* @param argument Builder for [com.pulumi.awsnative.signer.kotlin.inputs.GetSigningProfilePlainArgs].
* @return null
*/
public suspend fun getSigningProfile(argument: suspend GetSigningProfilePlainArgsBuilder.() -> Unit): GetSigningProfileResult {
val builder = GetSigningProfilePlainArgsBuilder()
builder.argument()
val builtArgument = builder.build()
return toKotlin(getSigningProfilePlain(builtArgument.toJava()).await())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy