
com.pulumi.awsnative.backup.kotlin.inputs.FrameworkControlControlScopePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.backup.kotlin.inputs
import com.pulumi.awsnative.backup.inputs.FrameworkControlControlScopePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans.
* @property complianceResourceIds The ID of the only AWS resource that you want your control scope to contain.
* @property complianceResourceTypes Describes whether the control scope includes one or more types of resources, such as `EFS` or `RDS`.
* @property tags Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair.
*/
public data class FrameworkControlControlScopePropertiesArgs(
public val complianceResourceIds: Output>? = null,
public val complianceResourceTypes: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.backup.inputs.FrameworkControlControlScopePropertiesArgs =
com.pulumi.awsnative.backup.inputs.FrameworkControlControlScopePropertiesArgs.builder()
.complianceResourceIds(complianceResourceIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.complianceResourceTypes(
complianceResourceTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FrameworkControlControlScopePropertiesArgs].
*/
@PulumiTagMarker
public class FrameworkControlControlScopePropertiesArgsBuilder internal constructor() {
private var complianceResourceIds: Output>? = null
private var complianceResourceTypes: Output>? = null
private var tags: Output>? = null
/**
* @param value The ID of the only AWS resource that you want your control scope to contain.
*/
@JvmName("uccleemgnrhifobd")
public suspend fun complianceResourceIds(`value`: Output>) {
this.complianceResourceIds = value
}
@JvmName("hyxbyymewuopcbnr")
public suspend fun complianceResourceIds(vararg values: Output) {
this.complianceResourceIds = Output.all(values.asList())
}
/**
* @param values The ID of the only AWS resource that you want your control scope to contain.
*/
@JvmName("rvcmargxwrkeosya")
public suspend fun complianceResourceIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy