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

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

package com.pulumi.awsnative.auditmanager.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * The wrapper that contains the AWS accounts and AWS services in scope for the assessment.
 * @property awsAccounts The AWS accounts included in scope.
 * @property awsServices The AWS services included in scope.
 */
public data class AssessmentScope(
    public val awsAccounts: List? = null,
    public val awsServices: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.auditmanager.outputs.AssessmentScope): AssessmentScope = AssessmentScope(
            awsAccounts = javaType.awsAccounts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.auditmanager.kotlin.outputs.AssessmentAwsAccount.Companion.toKotlin(args0)
                })
            }),
            awsServices = javaType.awsServices().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.auditmanager.kotlin.outputs.AssessmentAwsService.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy