We recommend new projects start with resources from the AWS provider.
aws-native.iot.getScheduledAudit
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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>
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]
func LookupScheduledAudit(ctx *Context, args *LookupScheduledAuditArgs, opts ...InvokeOption) (*LookupScheduledAuditResult, error)
func LookupScheduledAuditOutput(ctx *Context, args *LookupScheduledAuditOutputArgs, opts ...InvokeOption) LookupScheduledAuditResultOutput
> 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)
}
public static CompletableFuture<GetScheduledAuditResult> getScheduledAudit(GetScheduledAuditArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iot:getScheduledAudit
arguments:
# arguments dictionary
The following arguments are supported:
- Scheduled
Audit stringName - The name you want to give to the scheduled audit.
- Scheduled
Audit stringName - The name you want to give to the scheduled audit.
- scheduled
Audit StringName - The name you want to give to the scheduled audit.
- scheduled
Audit stringName - The name you want to give to the scheduled audit.
- scheduled_
audit_ strname - The name you want to give to the scheduled audit.
- scheduled
Audit StringName - The name you want to give to the scheduled audit.
getScheduledAudit Result
The following output properties are available:
- Day
Of stringMonth - 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 Pulumi.Week Aws Native. Io T. Scheduled Audit Day Of Week - 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.
Aws Native. Io T. Scheduled Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- Scheduled
Audit stringArn - The ARN (Amazon resource name) of the scheduled audit.
- List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Target
Check List<string>Names - Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- Day
Of stringMonth - 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 ScheduledWeek Audit Day Of Week - 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
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- Scheduled
Audit stringArn - The ARN (Amazon resource name) of the scheduled audit.
- Tag
- An array of key-value pairs to apply to this resource.
- Target
Check []stringNames - Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- day
Of StringMonth - 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 ScheduledWeek Audit Day Of Week - 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
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- scheduled
Audit StringArn - The ARN (Amazon resource name) of the scheduled audit.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- target
Check List<String>Names - Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- day
Of stringMonth - 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 ScheduledWeek Audit Day Of Week - 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
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- scheduled
Audit stringArn - The ARN (Amazon resource name) of the scheduled audit.
- Tag[]
- An array of key-value pairs to apply to this resource.
- target
Check string[]Names - Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- day_
of_ strmonth - 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_ Scheduledweek Audit Day Of Week - 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
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- scheduled_
audit_ strarn - The ARN (Amazon resource name) of the scheduled audit.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- target_
check_ Sequence[str]names - Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- day
Of StringMonth - 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 "SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "UNSET_VALUE"Week - 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.
- scheduled
Audit StringArn - The ARN (Amazon resource name) of the scheduled audit.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- target
Check List<String>Names - Which checks are performed during the scheduled audit. Checks must be enabled for your account.
Supporting Types
ScheduledAuditDayOfWeek
ScheduledAuditFrequency
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.