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

com.pulumi.awsnative.securityhub.kotlin.outputs.GetSecurityControlResult.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.securityhub.kotlin.outputs

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

/**
 *
 * @property lastUpdateReason The most recent reason for updating the customizable properties of a security control. This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
 * @property parameters An object that identifies the name of a control parameter, its current value, and whether it has been customized.
 * @property securityControlArn The Amazon Resource Name (ARN) for a security control across standards, such as `arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1`. This parameter doesn't mention a specific standard.
 * @property securityControlId The unique identifier of a security control across standards. Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.
 */
public data class GetSecurityControlResult(
    public val lastUpdateReason: String? = null,
    public val parameters: Map? = null,
    public val securityControlArn: String? = null,
    public val securityControlId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.GetSecurityControlResult): GetSecurityControlResult = GetSecurityControlResult(
            lastUpdateReason = javaType.lastUpdateReason().map({ args0 -> args0 }).orElse(null),
            parameters = javaType.parameters().map({ args0 ->
                args0.key.to(
                    args0.value.let({ args0 ->
                        com.pulumi.awsnative.securityhub.kotlin.outputs.SecurityControlParameterConfiguration.Companion.toKotlin(args0)
                    }),
                )
            }).toMap(),
            securityControlArn = javaType.securityControlArn().map({ args0 -> args0 }).orElse(null),
            securityControlId = javaType.securityControlId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy