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

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

package com.pulumi.awsnative.oam.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property arn The Amazon resource name (ARN) of the ObservabilityAccessManager Sink
 * @property policy The policy of this ObservabilityAccessManager Sink.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Oam::Sink` for more information about the expected schema for this property.
 * @property tags Tags to apply to the sink
 */
public data class GetSinkResult(
    public val arn: String? = null,
    public val policy: Any? = null,
    public val tags: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.oam.outputs.GetSinkResult): GetSinkResult =
            GetSinkResult(
                arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
                policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
                tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy