ControlArgs

data class ControlArgs(val actionPlanInstructions: Output<String>? = null, val actionPlanTitle: Output<String>? = null, val controlMappingSources: Output<List<ControlControlMappingSourceArgs>>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val testingInformation: Output<String>? = null) : ConvertibleToJava<ControlArgs>

Resource for managing an AWS Audit Manager Control.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.auditmanager.Control;
import com.pulumi.aws.auditmanager.ControlArgs;
import com.pulumi.aws.auditmanager.inputs.ControlControlMappingSourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Control("example", ControlArgs.builder()
.controlMappingSources(ControlControlMappingSourceArgs.builder()
.sourceName("example")
.sourceSetUpOption("Procedural_Controls_Mapping")
.sourceType("MANUAL")
.build())
.build());
}
}

Import

Using pulumi import, import an Audit Manager Control using the id. For example:

$ pulumi import aws:auditmanager/control:Control example abc123-de45

Constructors

Link copied to clipboard
fun ControlArgs(actionPlanInstructions: Output<String>? = null, actionPlanTitle: Output<String>? = null, controlMappingSources: Output<List<ControlControlMappingSourceArgs>>? = null, description: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null, testingInformation: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ControlArgs

Properties

Link copied to clipboard
val actionPlanInstructions: Output<String>? = null

Recommended actions to carry out if the control isn't fulfilled.

Link copied to clipboard
val actionPlanTitle: Output<String>? = null

Title of the action plan for remediating the control.

Link copied to clipboard

Data mapping sources. See control_mapping_sources below. The following arguments are optional:

Link copied to clipboard
val description: Output<String>? = null

Description of the control.

Link copied to clipboard
val name: Output<String>? = null

Name of the control.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the control. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val testingInformation: Output<String>? = null

Steps to follow to determine if the control is satisfied.