Control

class Control : KotlinCustomResource

Resource for managing an AWS Audit Manager Control.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.auditmanager.Control("example", {
name: "example",
controlMappingSources: [{
sourceName: "example",
sourceSetUpOption: "Procedural_Controls_Mapping",
sourceType: "MANUAL",
}],
});
import pulumi
import pulumi_aws as aws
example = aws.auditmanager.Control("example",
name="example",
control_mapping_sources=[{
"source_name": "example",
"source_set_up_option": "Procedural_Controls_Mapping",
"source_type": "MANUAL",
}])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Auditmanager.Control("example", new()
{
Name = "example",
ControlMappingSources = new[]
{
new Aws.Auditmanager.Inputs.ControlControlMappingSourceArgs
{
SourceName = "example",
SourceSetUpOption = "Procedural_Controls_Mapping",
SourceType = "MANUAL",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/auditmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := auditmanager.NewControl(ctx, "example", &auditmanager.ControlArgs{
Name: pulumi.String("example"),
ControlMappingSources: auditmanager.ControlControlMappingSourceArray{
&auditmanager.ControlControlMappingSourceArgs{
SourceName: pulumi.String("example"),
SourceSetUpOption: pulumi.String("Procedural_Controls_Mapping"),
SourceType: pulumi.String("MANUAL"),
},
},
})
if err != nil {
return err
}
return nil
})
}
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()
.name("example")
.controlMappingSources(ControlControlMappingSourceArgs.builder()
.sourceName("example")
.sourceSetUpOption("Procedural_Controls_Mapping")
.sourceType("MANUAL")
.build())
.build());
}
}
resources:
example:
type: aws:auditmanager:Control
properties:
name: example
controlMappingSources:
- sourceName: example
sourceSetUpOption: Procedural_Controls_Mapping
sourceType: MANUAL

Import

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

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

Properties

Link copied to clipboard

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

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

Title of the action plan for remediating the control.

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of 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>?

Description of the control.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Name of the control.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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 tagsAll: Output<Map<String, String>>
Link copied to clipboard

Steps to follow to determine if the control is satisfied.

Link copied to clipboard
val type: Output<String>

Type of control, such as a custom control or a standard control.

Link copied to clipboard
val urn: Output<String>