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

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

package com.pulumi.awsnative.networkfirewall.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property description A description of the rule group.
 * @property ruleGroup An object that defines the rule group rules.
 * @property ruleGroupArn The Amazon Resource Name (ARN) of the `RuleGroup` .
 * @property ruleGroupId The unique ID of the `RuleGroup` resource.
 * @property tags An array of key-value pairs to apply to this resource.
 * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
 */
public data class GetRuleGroupResult(
    public val description: String? = null,
    public val ruleGroup: RuleGroup? = null,
    public val ruleGroupArn: String? = null,
    public val ruleGroupId: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.GetRuleGroupResult): GetRuleGroupResult = GetRuleGroupResult(
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            ruleGroup = javaType.ruleGroup().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroup.Companion.toKotlin(args0)
                })
            }).orElse(null),
            ruleGroupArn = javaType.ruleGroupArn().map({ args0 -> args0 }).orElse(null),
            ruleGroupId = javaType.ruleGroupId().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