UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

45 lines (44 loc) 2.69 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Configures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled. */ export declare function getAccountAuditConfiguration(args: GetAccountAuditConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountAuditConfigurationResult>; export interface GetAccountAuditConfigurationArgs { /** * Your 12-digit account ID (used as the primary identifier for the CloudFormation resource). */ accountId: string; } export interface GetAccountAuditConfigurationResult { /** * Specifies which audit checks are enabled and disabled for this account. * * Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the `Enabled:` key to `false` . * * If an enabled check is removed from the template, it will also be disabled. * * You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check. * * For more information on available audit checks see [AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html) */ readonly auditCheckConfigurations?: outputs.iot.AccountAuditConfigurationAuditCheckConfigurations; /** * Information about the targets to which audit notifications are sent. */ readonly auditNotificationTargetConfigurations?: outputs.iot.AccountAuditConfigurationAuditNotificationTargetConfigurations; /** * The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as required when performing an audit. */ readonly roleArn?: string; } /** * Configures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled. */ export declare function getAccountAuditConfigurationOutput(args: GetAccountAuditConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountAuditConfigurationResult>; export interface GetAccountAuditConfigurationOutputArgs { /** * Your 12-digit account ID (used as the primary identifier for the CloudFormation resource). */ accountId: pulumi.Input<string>; }