![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.outputs.GetCertificateProviderResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import com.pulumi.awsnative.iot.kotlin.enums.CertificateProviderOperation
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accountDefaultForOperations A list of the operations that the certificate provider will use to generate certificates. Valid value: `CreateCertificateFromCsr` .
* @property arn Returns the Amazon Resource Name (ARN) for the certificate. For example:
* `{ "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }`
* A value similar to the following is returned:
* `arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider`
* @property lambdaFunctionArn The ARN of the Lambda function.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetCertificateProviderResult(
public val accountDefaultForOperations: List? = null,
public val arn: String? = null,
public val lambdaFunctionArn: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.GetCertificateProviderResult): GetCertificateProviderResult = GetCertificateProviderResult(
accountDefaultForOperations = javaType.accountDefaultForOperations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.enums.CertificateProviderOperation.Companion.toKotlin(args0)
})
}),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
lambdaFunctionArn = javaType.lambdaFunctionArn().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