import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for managing an AWS Audit Manager Control. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.auditmanager.getControl({ * name: "1. Risk Management", * type: "Standard", * }); * ``` * * ### With Framework Resource * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.auditmanager.getControl({ * name: "1. Risk Management", * type: "Standard", * }); * const example2 = aws.auditmanager.getControl({ * name: "2. Personnel", * type: "Standard", * }); * const exampleFramework = new aws.auditmanager.Framework("example", { * controlSets: [ * { * controls: [{ * id: example.then(example => example.id), * }], * name: "example", * }, * { * controls: [{ * id: example2.then(example2 => example2.id), * }], * name: "example2", * }, * ], * name: "example", * }); * ``` */ export declare function getControl(args: GetControlArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getControl. */ export interface GetControlArgs { /** * Name of the control. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Type of control. Valid values are `Custom` and `Standard`. */ type: string; } /** * A collection of values returned by getControl. */ export interface GetControlResult { /** * Recommended actions to carry out if the control isn't fulfilled. */ readonly actionPlanInstructions: string; /** * Title of the action plan for remediating the control. */ readonly actionPlanTitle: string; /** * ARN of the control. */ readonly arn: string; /** * Data mapping sources for the control. */ readonly controlMappingSources: outputs.auditmanager.GetControlControlMappingSource[]; /** * Description of the control. */ readonly description: string; /** * Unique identifier for the control. */ readonly id: string; readonly name: string; readonly region: string; /** * Map of tags assigned to the control. */ readonly tags: { [key: string]: string; }; /** * Steps to follow to determine if the control is satisfied. */ readonly testingInformation: string; readonly type: string; } /** * Data source for managing an AWS Audit Manager Control. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.auditmanager.getControl({ * name: "1. Risk Management", * type: "Standard", * }); * ``` * * ### With Framework Resource * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.auditmanager.getControl({ * name: "1. Risk Management", * type: "Standard", * }); * const example2 = aws.auditmanager.getControl({ * name: "2. Personnel", * type: "Standard", * }); * const exampleFramework = new aws.auditmanager.Framework("example", { * controlSets: [ * { * controls: [{ * id: example.then(example => example.id), * }], * name: "example", * }, * { * controls: [{ * id: example2.then(example2 => example2.id), * }], * name: "example2", * }, * ], * name: "example", * }); * ``` */ export declare function getControlOutput(args: GetControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getControl. */ export interface GetControlOutputArgs { /** * Name of the control. */ name: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Type of control. Valid values are `Custom` and `Standard`. */ type: pulumi.Input; } //# sourceMappingURL=getControl.d.ts.map