com.pulumi.awsnative.auditmanager.kotlin.outputs.AssessmentScope.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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)
})
}),
)
}
}