1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. iot
  5. getScheduledAudit

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.iot.getScheduledAudit

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Scheduled audits can be used to specify the checks you want to perform during an audit and how often the audit should be run.

Using getScheduledAudit

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getScheduledAudit(args: GetScheduledAuditArgs, opts?: InvokeOptions): Promise<GetScheduledAuditResult>
function getScheduledAuditOutput(args: GetScheduledAuditOutputArgs, opts?: InvokeOptions): Output<GetScheduledAuditResult>
Copy
def get_scheduled_audit(scheduled_audit_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetScheduledAuditResult
def get_scheduled_audit_output(scheduled_audit_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetScheduledAuditResult]
Copy
func LookupScheduledAudit(ctx *Context, args *LookupScheduledAuditArgs, opts ...InvokeOption) (*LookupScheduledAuditResult, error)
func LookupScheduledAuditOutput(ctx *Context, args *LookupScheduledAuditOutputArgs, opts ...InvokeOption) LookupScheduledAuditResultOutput
Copy

> Note: This function is named LookupScheduledAudit in the Go SDK.

public static class GetScheduledAudit 
{
    public static Task<GetScheduledAuditResult> InvokeAsync(GetScheduledAuditArgs args, InvokeOptions? opts = null)
    public static Output<GetScheduledAuditResult> Invoke(GetScheduledAuditInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetScheduledAuditResult> getScheduledAudit(GetScheduledAuditArgs args, InvokeOptions options)
public static Output<GetScheduledAuditResult> getScheduledAudit(GetScheduledAuditArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:iot:getScheduledAudit
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ScheduledAuditName This property is required. string
The name you want to give to the scheduled audit.
ScheduledAuditName This property is required. string
The name you want to give to the scheduled audit.
scheduledAuditName This property is required. String
The name you want to give to the scheduled audit.
scheduledAuditName This property is required. string
The name you want to give to the scheduled audit.
scheduled_audit_name This property is required. str
The name you want to give to the scheduled audit.
scheduledAuditName This property is required. String
The name you want to give to the scheduled audit.

getScheduledAudit Result

The following output properties are available:

DayOfMonth string
The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
DayOfWeek Pulumi.AwsNative.IoT.ScheduledAuditDayOfWeek
The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
Frequency Pulumi.AwsNative.IoT.ScheduledAuditFrequency
How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
ScheduledAuditArn string
The ARN (Amazon resource name) of the scheduled audit.
Tags List<Pulumi.AwsNative.Outputs.Tag>
An array of key-value pairs to apply to this resource.
TargetCheckNames List<string>
Which checks are performed during the scheduled audit. Checks must be enabled for your account.
DayOfMonth string
The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
DayOfWeek ScheduledAuditDayOfWeek
The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
Frequency ScheduledAuditFrequency
How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
ScheduledAuditArn string
The ARN (Amazon resource name) of the scheduled audit.
Tags Tag
An array of key-value pairs to apply to this resource.
TargetCheckNames []string
Which checks are performed during the scheduled audit. Checks must be enabled for your account.
dayOfMonth String
The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
dayOfWeek ScheduledAuditDayOfWeek
The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
frequency ScheduledAuditFrequency
How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
scheduledAuditArn String
The ARN (Amazon resource name) of the scheduled audit.
tags List<Tag>
An array of key-value pairs to apply to this resource.
targetCheckNames List<String>
Which checks are performed during the scheduled audit. Checks must be enabled for your account.
dayOfMonth string
The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
dayOfWeek ScheduledAuditDayOfWeek
The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
frequency ScheduledAuditFrequency
How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
scheduledAuditArn string
The ARN (Amazon resource name) of the scheduled audit.
tags Tag[]
An array of key-value pairs to apply to this resource.
targetCheckNames string[]
Which checks are performed during the scheduled audit. Checks must be enabled for your account.
day_of_month str
The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
day_of_week ScheduledAuditDayOfWeek
The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
frequency ScheduledAuditFrequency
How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
scheduled_audit_arn str
The ARN (Amazon resource name) of the scheduled audit.
tags Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
target_check_names Sequence[str]
Which checks are performed during the scheduled audit. Checks must be enabled for your account.
dayOfMonth String
The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY.
dayOfWeek "SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "UNSET_VALUE"
The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
frequency "DAILY" | "WEEKLY" | "BIWEEKLY" | "MONTHLY"
How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
scheduledAuditArn String
The ARN (Amazon resource name) of the scheduled audit.
tags List<Property Map>
An array of key-value pairs to apply to this resource.
targetCheckNames List<String>
Which checks are performed during the scheduled audit. Checks must be enabled for your account.

Supporting Types

ScheduledAuditDayOfWeek

ScheduledAuditFrequency

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi