We recommend new projects start with resources from the AWS provider.
aws-native.iot.ScheduledAudit
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.
Create ScheduledAudit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledAudit(name: string, args: ScheduledAuditArgs, opts?: CustomResourceOptions);@overload
def ScheduledAudit(resource_name: str,
                   args: ScheduledAuditArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def ScheduledAudit(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   frequency: Optional[ScheduledAuditFrequency] = None,
                   target_check_names: Optional[Sequence[str]] = None,
                   day_of_month: Optional[str] = None,
                   day_of_week: Optional[ScheduledAuditDayOfWeek] = None,
                   scheduled_audit_name: Optional[str] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewScheduledAudit(ctx *Context, name string, args ScheduledAuditArgs, opts ...ResourceOption) (*ScheduledAudit, error)public ScheduledAudit(string name, ScheduledAuditArgs args, CustomResourceOptions? opts = null)
public ScheduledAudit(String name, ScheduledAuditArgs args)
public ScheduledAudit(String name, ScheduledAuditArgs args, CustomResourceOptions options)
type: aws-native:iot:ScheduledAudit
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 ScheduledAuditArgs
- 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 ScheduledAuditArgs
- 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 ScheduledAuditArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledAuditArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledAuditArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ScheduledAudit Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScheduledAudit resource accepts the following input properties:
- 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.
- TargetCheck List<string>Names 
- Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- DayOf 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.
- DayOf 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.
- ScheduledAudit stringName 
- The name you want to give to the scheduled audit.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- Frequency
ScheduledAudit Frequency 
- How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- TargetCheck []stringNames 
- Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- DayOf 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.
- DayOf 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.
- ScheduledAudit stringName 
- The name you want to give to the scheduled audit.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- frequency
ScheduledAudit Frequency 
- How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- targetCheck List<String>Names 
- Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- dayOf 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.
- dayOf 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.
- scheduledAudit StringName 
- The name you want to give to the scheduled audit.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- frequency
ScheduledAudit Frequency 
- How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- targetCheck string[]Names 
- Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- dayOf 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.
- dayOf 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.
- scheduledAudit stringName 
- The name you want to give to the scheduled audit.
- Tag[]
- An array of key-value pairs to apply to this resource.
- frequency
ScheduledAudit Frequency 
- How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- target_check_ Sequence[str]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.
- scheduled_audit_ strname 
- The name you want to give to the scheduled audit.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- frequency "DAILY" | "WEEKLY" | "BIWEEKLY" | "MONTHLY"
- How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- targetCheck List<String>Names 
- Which checks are performed during the scheduled audit. Checks must be enabled for your account.
- dayOf 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.
- dayOf "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.
- scheduledAudit StringName 
- The name you want to give to the scheduled audit.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledAudit resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- ScheduledAudit stringArn 
- The ARN (Amazon resource name) of the scheduled audit.
- Id string
- The provider-assigned unique ID for this managed resource.
- ScheduledAudit stringArn 
- The ARN (Amazon resource name) of the scheduled audit.
- id String
- The provider-assigned unique ID for this managed resource.
- scheduledAudit StringArn 
- The ARN (Amazon resource name) of the scheduled audit.
- id string
- The provider-assigned unique ID for this managed resource.
- scheduledAudit stringArn 
- The ARN (Amazon resource name) of the scheduled audit.
- id str
- The provider-assigned unique ID for this managed resource.
- scheduled_audit_ strarn 
- The ARN (Amazon resource name) of the scheduled audit.
- id String
- The provider-assigned unique ID for this managed resource.
- scheduledAudit StringArn 
- The ARN (Amazon resource name) of the scheduled audit.
Supporting Types
ScheduledAuditDayOfWeek, ScheduledAuditDayOfWeekArgs          
- Sun
- SUN
- Mon
- MON
- Tue
- TUE
- Wed
- WED
- Thu
- THU
- Fri
- FRI
- Sat
- SAT
- UnsetValue 
- UNSET_VALUE
- ScheduledAudit Day Of Week Sun 
- SUN
- ScheduledAudit Day Of Week Mon 
- MON
- ScheduledAudit Day Of Week Tue 
- TUE
- ScheduledAudit Day Of Week Wed 
- WED
- ScheduledAudit Day Of Week Thu 
- THU
- ScheduledAudit Day Of Week Fri 
- FRI
- ScheduledAudit Day Of Week Sat 
- SAT
- ScheduledAudit Day Of Week Unset Value 
- UNSET_VALUE
- Sun
- SUN
- Mon
- MON
- Tue
- TUE
- Wed
- WED
- Thu
- THU
- Fri
- FRI
- Sat
- SAT
- UnsetValue 
- UNSET_VALUE
- Sun
- SUN
- Mon
- MON
- Tue
- TUE
- Wed
- WED
- Thu
- THU
- Fri
- FRI
- Sat
- SAT
- UnsetValue 
- UNSET_VALUE
- SUN
- SUN
- MON
- MON
- TUE
- TUE
- WED
- WED
- THU
- THU
- FRI
- FRI
- SAT
- SAT
- UNSET_VALUE
- UNSET_VALUE
- "SUN"
- SUN
- "MON"
- MON
- "TUE"
- TUE
- "WED"
- WED
- "THU"
- THU
- "FRI"
- FRI
- "SAT"
- SAT
- "UNSET_VALUE"
- UNSET_VALUE
ScheduledAuditFrequency, ScheduledAuditFrequencyArgs      
- Daily
- DAILY
- Weekly
- WEEKLY
- Biweekly
- BIWEEKLY
- Monthly
- MONTHLY
- ScheduledAudit Frequency Daily 
- DAILY
- ScheduledAudit Frequency Weekly 
- WEEKLY
- ScheduledAudit Frequency Biweekly 
- BIWEEKLY
- ScheduledAudit Frequency Monthly 
- MONTHLY
- Daily
- DAILY
- Weekly
- WEEKLY
- Biweekly
- BIWEEKLY
- Monthly
- MONTHLY
- Daily
- DAILY
- Weekly
- WEEKLY
- Biweekly
- BIWEEKLY
- Monthly
- MONTHLY
- DAILY
- DAILY
- WEEKLY
- WEEKLY
- BIWEEKLY
- BIWEEKLY
- MONTHLY
- MONTHLY
- "DAILY"
- DAILY
- "WEEKLY"
- WEEKLY
- "BIWEEKLY"
- BIWEEKLY
- "MONTHLY"
- MONTHLY
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.