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

com.pulumi.awsnative.events.kotlin.outputs.GetEventBusResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.events.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 Amazon Resource Name (ARN) for the event bus.
 * @property deadLetterConfig Dead Letter Queue for the event bus.
 * @property description The description of the event bus.
 * @property kmsKeyIdentifier Kms Key Identifier used to encrypt events at rest in the event bus.
 * @property policy A JSON string that describes the permission policy statement for the event bus.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Events::EventBus` for more information about the expected schema for this property.
 * @property tags Any tags assigned to the event bus.
 */
public data class GetEventBusResult(
    public val arn: String? = null,
    public val deadLetterConfig: DeadLetterConfigProperties? = null,
    public val description: String? = null,
    public val kmsKeyIdentifier: String? = null,
    public val policy: Any? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.GetEventBusResult): GetEventBusResult = GetEventBusResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            deadLetterConfig = javaType.deadLetterConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.events.kotlin.outputs.DeadLetterConfigProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            kmsKeyIdentifier = javaType.kmsKeyIdentifier().map({ args0 -> args0 }).orElse(null),
            policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy