1. Packages
  2. AWS Classic
  3. API Docs
  4. auditmanager
  5. Control

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

aws.auditmanager.Control

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

    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=[aws.auditmanager.ControlControlMappingSourceArgs(
            source_name="example",
            source_set_up_option="Procedural_Controls_Mapping",
            source_type="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
    	})
    }
    
    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 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
    

    Create Control Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Control(name: string, args?: ControlArgs, opts?: CustomResourceOptions);
    @overload
    def Control(resource_name: str,
                args: Optional[ControlArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Control(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                action_plan_instructions: Optional[str] = None,
                action_plan_title: Optional[str] = None,
                control_mapping_sources: Optional[Sequence[ControlControlMappingSourceArgs]] = None,
                description: Optional[str] = None,
                name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None,
                testing_information: Optional[str] = None)
    func NewControl(ctx *Context, name string, args *ControlArgs, opts ...ResourceOption) (*Control, error)
    public Control(string name, ControlArgs? args = null, CustomResourceOptions? opts = null)
    public Control(String name, ControlArgs args)
    public Control(String name, ControlArgs args, CustomResourceOptions options)
    
    type: aws:auditmanager:Control
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ControlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ControlArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ControlArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ControlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ControlArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var controlResource = new Aws.Auditmanager.Control("controlResource", new()
    {
        ActionPlanInstructions = "string",
        ActionPlanTitle = "string",
        ControlMappingSources = new[]
        {
            new Aws.Auditmanager.Inputs.ControlControlMappingSourceArgs
            {
                SourceName = "string",
                SourceSetUpOption = "string",
                SourceType = "string",
                SourceDescription = "string",
                SourceFrequency = "string",
                SourceId = "string",
                SourceKeyword = new Aws.Auditmanager.Inputs.ControlControlMappingSourceSourceKeywordArgs
                {
                    KeywordInputType = "string",
                    KeywordValue = "string",
                },
                TroubleshootingText = "string",
            },
        },
        Description = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TestingInformation = "string",
    });
    
    example, err := auditmanager.NewControl(ctx, "controlResource", &auditmanager.ControlArgs{
    	ActionPlanInstructions: pulumi.String("string"),
    	ActionPlanTitle:        pulumi.String("string"),
    	ControlMappingSources: auditmanager.ControlControlMappingSourceArray{
    		&auditmanager.ControlControlMappingSourceArgs{
    			SourceName:        pulumi.String("string"),
    			SourceSetUpOption: pulumi.String("string"),
    			SourceType:        pulumi.String("string"),
    			SourceDescription: pulumi.String("string"),
    			SourceFrequency:   pulumi.String("string"),
    			SourceId:          pulumi.String("string"),
    			SourceKeyword: &auditmanager.ControlControlMappingSourceSourceKeywordArgs{
    				KeywordInputType: pulumi.String("string"),
    				KeywordValue:     pulumi.String("string"),
    			},
    			TroubleshootingText: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TestingInformation: pulumi.String("string"),
    })
    
    var controlResource = new Control("controlResource", ControlArgs.builder()        
        .actionPlanInstructions("string")
        .actionPlanTitle("string")
        .controlMappingSources(ControlControlMappingSourceArgs.builder()
            .sourceName("string")
            .sourceSetUpOption("string")
            .sourceType("string")
            .sourceDescription("string")
            .sourceFrequency("string")
            .sourceId("string")
            .sourceKeyword(ControlControlMappingSourceSourceKeywordArgs.builder()
                .keywordInputType("string")
                .keywordValue("string")
                .build())
            .troubleshootingText("string")
            .build())
        .description("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .testingInformation("string")
        .build());
    
    control_resource = aws.auditmanager.Control("controlResource",
        action_plan_instructions="string",
        action_plan_title="string",
        control_mapping_sources=[aws.auditmanager.ControlControlMappingSourceArgs(
            source_name="string",
            source_set_up_option="string",
            source_type="string",
            source_description="string",
            source_frequency="string",
            source_id="string",
            source_keyword=aws.auditmanager.ControlControlMappingSourceSourceKeywordArgs(
                keyword_input_type="string",
                keyword_value="string",
            ),
            troubleshooting_text="string",
        )],
        description="string",
        name="string",
        tags={
            "string": "string",
        },
        testing_information="string")
    
    const controlResource = new aws.auditmanager.Control("controlResource", {
        actionPlanInstructions: "string",
        actionPlanTitle: "string",
        controlMappingSources: [{
            sourceName: "string",
            sourceSetUpOption: "string",
            sourceType: "string",
            sourceDescription: "string",
            sourceFrequency: "string",
            sourceId: "string",
            sourceKeyword: {
                keywordInputType: "string",
                keywordValue: "string",
            },
            troubleshootingText: "string",
        }],
        description: "string",
        name: "string",
        tags: {
            string: "string",
        },
        testingInformation: "string",
    });
    
    type: aws:auditmanager:Control
    properties:
        actionPlanInstructions: string
        actionPlanTitle: string
        controlMappingSources:
            - sourceDescription: string
              sourceFrequency: string
              sourceId: string
              sourceKeyword:
                keywordInputType: string
                keywordValue: string
              sourceName: string
              sourceSetUpOption: string
              sourceType: string
              troubleshootingText: string
        description: string
        name: string
        tags:
            string: string
        testingInformation: string
    

    Control Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Control resource accepts the following input properties:

    ActionPlanInstructions string
    Recommended actions to carry out if the control isn't fulfilled.
    ActionPlanTitle string
    Title of the action plan for remediating the control.
    ControlMappingSources List<Pulumi.Aws.Auditmanager.Inputs.ControlControlMappingSource>

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    Description string
    Description of the control.
    Name string
    Name of the control.
    Tags Dictionary<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.
    TestingInformation string
    Steps to follow to determine if the control is satisfied.
    ActionPlanInstructions string
    Recommended actions to carry out if the control isn't fulfilled.
    ActionPlanTitle string
    Title of the action plan for remediating the control.
    ControlMappingSources []ControlControlMappingSourceArgs

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    Description string
    Description of the control.
    Name string
    Name of the control.
    Tags 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.
    TestingInformation string
    Steps to follow to determine if the control is satisfied.
    actionPlanInstructions String
    Recommended actions to carry out if the control isn't fulfilled.
    actionPlanTitle String
    Title of the action plan for remediating the control.
    controlMappingSources List<ControlControlMappingSource>

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description String
    Description of the control.
    name String
    Name of the control.
    tags 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.
    testingInformation String
    Steps to follow to determine if the control is satisfied.
    actionPlanInstructions string
    Recommended actions to carry out if the control isn't fulfilled.
    actionPlanTitle string
    Title of the action plan for remediating the control.
    controlMappingSources ControlControlMappingSource[]

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description string
    Description of the control.
    name string
    Name of the control.
    tags {[key: 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.
    testingInformation string
    Steps to follow to determine if the control is satisfied.
    action_plan_instructions str
    Recommended actions to carry out if the control isn't fulfilled.
    action_plan_title str
    Title of the action plan for remediating the control.
    control_mapping_sources Sequence[ControlControlMappingSourceArgs]

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description str
    Description of the control.
    name str
    Name of the control.
    tags Mapping[str, str]
    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.
    testing_information str
    Steps to follow to determine if the control is satisfied.
    actionPlanInstructions String
    Recommended actions to carry out if the control isn't fulfilled.
    actionPlanTitle String
    Title of the action plan for remediating the control.
    controlMappingSources List<Property Map>

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description String
    Description of the control.
    name String
    Name of the control.
    tags Map<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.
    testingInformation String
    Steps to follow to determine if the control is satisfied.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Control resource produces the following output properties:

    Arn string
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Type string
    Type of control, such as a custom control or a standard control.
    Arn string
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    Type string
    Type of control, such as a custom control or a standard control.
    arn String
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    type String
    Type of control, such as a custom control or a standard control.
    arn string
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    type string
    Type of control, such as a custom control or a standard control.
    arn str
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    type str
    Type of control, such as a custom control or a standard control.
    arn String
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

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

    Look up Existing Control Resource

    Get an existing Control resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ControlState, opts?: CustomResourceOptions): Control
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action_plan_instructions: Optional[str] = None,
            action_plan_title: Optional[str] = None,
            arn: Optional[str] = None,
            control_mapping_sources: Optional[Sequence[ControlControlMappingSourceArgs]] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            testing_information: Optional[str] = None,
            type: Optional[str] = None) -> Control
    func GetControl(ctx *Context, name string, id IDInput, state *ControlState, opts ...ResourceOption) (*Control, error)
    public static Control Get(string name, Input<string> id, ControlState? state, CustomResourceOptions? opts = null)
    public static Control get(String name, Output<String> id, ControlState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActionPlanInstructions string
    Recommended actions to carry out if the control isn't fulfilled.
    ActionPlanTitle string
    Title of the action plan for remediating the control.
    Arn string
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    ControlMappingSources List<Pulumi.Aws.Auditmanager.Inputs.ControlControlMappingSource>

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    Description string
    Description of the control.
    Name string
    Name of the control.
    Tags Dictionary<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.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    TestingInformation string
    Steps to follow to determine if the control is satisfied.
    Type string
    Type of control, such as a custom control or a standard control.
    ActionPlanInstructions string
    Recommended actions to carry out if the control isn't fulfilled.
    ActionPlanTitle string
    Title of the action plan for remediating the control.
    Arn string
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    ControlMappingSources []ControlControlMappingSourceArgs

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    Description string
    Description of the control.
    Name string
    Name of the control.
    Tags 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.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    TestingInformation string
    Steps to follow to determine if the control is satisfied.
    Type string
    Type of control, such as a custom control or a standard control.
    actionPlanInstructions String
    Recommended actions to carry out if the control isn't fulfilled.
    actionPlanTitle String
    Title of the action plan for remediating the control.
    arn String
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    controlMappingSources List<ControlControlMappingSource>

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description String
    Description of the control.
    name String
    Name of the control.
    tags 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.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    testingInformation String
    Steps to follow to determine if the control is satisfied.
    type String
    Type of control, such as a custom control or a standard control.
    actionPlanInstructions string
    Recommended actions to carry out if the control isn't fulfilled.
    actionPlanTitle string
    Title of the action plan for remediating the control.
    arn string
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    controlMappingSources ControlControlMappingSource[]

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description string
    Description of the control.
    name string
    Name of the control.
    tags {[key: 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.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    testingInformation string
    Steps to follow to determine if the control is satisfied.
    type string
    Type of control, such as a custom control or a standard control.
    action_plan_instructions str
    Recommended actions to carry out if the control isn't fulfilled.
    action_plan_title str
    Title of the action plan for remediating the control.
    arn str
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    control_mapping_sources Sequence[ControlControlMappingSourceArgs]

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description str
    Description of the control.
    name str
    Name of the control.
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    testing_information str
    Steps to follow to determine if the control is satisfied.
    type str
    Type of control, such as a custom control or a standard control.
    actionPlanInstructions String
    Recommended actions to carry out if the control isn't fulfilled.
    actionPlanTitle String
    Title of the action plan for remediating the control.
    arn String
    Amazon Resource Name (ARN) of the control.

    • control_mapping_sources.*.source_id - Unique identifier for the source.
    controlMappingSources List<Property Map>

    Data mapping sources. See control_mapping_sources below.

    The following arguments are optional:

    description String
    Description of the control.
    name String
    Name of the control.
    tags Map<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.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    testingInformation String
    Steps to follow to determine if the control is satisfied.
    type String
    Type of control, such as a custom control or a standard control.

    Supporting Types

    ControlControlMappingSource, ControlControlMappingSourceArgs

    SourceName string
    Name of the source.
    SourceSetUpOption string
    The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are System_Controls_Mapping (automated) and Procedural_Controls_Mapping (manual).
    SourceType string

    Type of data source for evidence collection. If source_set_up_option is manual, the only valid value is MANUAL. If source_set_up_option is automated, valid values are AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, or AWS_API_Call.

    The following arguments are optional:

    SourceDescription string
    Description of the source.
    SourceFrequency string
    Frequency of evidence collection. Valid values are DAILY, WEEKLY, or MONTHLY.
    SourceId string
    SourceKeyword Pulumi.Aws.Auditmanager.Inputs.ControlControlMappingSourceSourceKeyword
    The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See source_keyword below.
    TroubleshootingText string
    Instructions for troubleshooting the control.
    SourceName string
    Name of the source.
    SourceSetUpOption string
    The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are System_Controls_Mapping (automated) and Procedural_Controls_Mapping (manual).
    SourceType string

    Type of data source for evidence collection. If source_set_up_option is manual, the only valid value is MANUAL. If source_set_up_option is automated, valid values are AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, or AWS_API_Call.

    The following arguments are optional:

    SourceDescription string
    Description of the source.
    SourceFrequency string
    Frequency of evidence collection. Valid values are DAILY, WEEKLY, or MONTHLY.
    SourceId string
    SourceKeyword ControlControlMappingSourceSourceKeyword
    The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See source_keyword below.
    TroubleshootingText string
    Instructions for troubleshooting the control.
    sourceName String
    Name of the source.
    sourceSetUpOption String
    The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are System_Controls_Mapping (automated) and Procedural_Controls_Mapping (manual).
    sourceType String

    Type of data source for evidence collection. If source_set_up_option is manual, the only valid value is MANUAL. If source_set_up_option is automated, valid values are AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, or AWS_API_Call.

    The following arguments are optional:

    sourceDescription String
    Description of the source.
    sourceFrequency String
    Frequency of evidence collection. Valid values are DAILY, WEEKLY, or MONTHLY.
    sourceId String
    sourceKeyword ControlControlMappingSourceSourceKeyword
    The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See source_keyword below.
    troubleshootingText String
    Instructions for troubleshooting the control.
    sourceName string
    Name of the source.
    sourceSetUpOption string
    The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are System_Controls_Mapping (automated) and Procedural_Controls_Mapping (manual).
    sourceType string

    Type of data source for evidence collection. If source_set_up_option is manual, the only valid value is MANUAL. If source_set_up_option is automated, valid values are AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, or AWS_API_Call.

    The following arguments are optional:

    sourceDescription string
    Description of the source.
    sourceFrequency string
    Frequency of evidence collection. Valid values are DAILY, WEEKLY, or MONTHLY.
    sourceId string
    sourceKeyword ControlControlMappingSourceSourceKeyword
    The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See source_keyword below.
    troubleshootingText string
    Instructions for troubleshooting the control.
    source_name str
    Name of the source.
    source_set_up_option str
    The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are System_Controls_Mapping (automated) and Procedural_Controls_Mapping (manual).
    source_type str

    Type of data source for evidence collection. If source_set_up_option is manual, the only valid value is MANUAL. If source_set_up_option is automated, valid values are AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, or AWS_API_Call.

    The following arguments are optional:

    source_description str
    Description of the source.
    source_frequency str
    Frequency of evidence collection. Valid values are DAILY, WEEKLY, or MONTHLY.
    source_id str
    source_keyword ControlControlMappingSourceSourceKeyword
    The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See source_keyword below.
    troubleshooting_text str
    Instructions for troubleshooting the control.
    sourceName String
    Name of the source.
    sourceSetUpOption String
    The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are System_Controls_Mapping (automated) and Procedural_Controls_Mapping (manual).
    sourceType String

    Type of data source for evidence collection. If source_set_up_option is manual, the only valid value is MANUAL. If source_set_up_option is automated, valid values are AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, or AWS_API_Call.

    The following arguments are optional:

    sourceDescription String
    Description of the source.
    sourceFrequency String
    Frequency of evidence collection. Valid values are DAILY, WEEKLY, or MONTHLY.
    sourceId String
    sourceKeyword Property Map
    The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See source_keyword below.
    troubleshootingText String
    Instructions for troubleshooting the control.

    ControlControlMappingSourceSourceKeyword, ControlControlMappingSourceSourceKeywordArgs

    KeywordInputType string
    Input method for the keyword. Valid values are SELECT_FROM_LIST.
    KeywordValue string
    The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the Audit Manager supported control data sources documentation for more information.
    KeywordInputType string
    Input method for the keyword. Valid values are SELECT_FROM_LIST.
    KeywordValue string
    The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the Audit Manager supported control data sources documentation for more information.
    keywordInputType String
    Input method for the keyword. Valid values are SELECT_FROM_LIST.
    keywordValue String
    The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the Audit Manager supported control data sources documentation for more information.
    keywordInputType string
    Input method for the keyword. Valid values are SELECT_FROM_LIST.
    keywordValue string
    The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the Audit Manager supported control data sources documentation for more information.
    keyword_input_type str
    Input method for the keyword. Valid values are SELECT_FROM_LIST.
    keyword_value str
    The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the Audit Manager supported control data sources documentation for more information.
    keywordInputType String
    Input method for the keyword. Valid values are SELECT_FROM_LIST.
    keywordValue String
    The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the Audit Manager supported control data sources documentation for more information.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi