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.
- 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 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.
- Scheduled
Audit 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
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- 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.
- Scheduled
Audit stringName - The name you want to give to the scheduled audit.
- Tag
Args - An array of key-value pairs to apply to this resource.
- frequency
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- 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.
- scheduled
Audit 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
Scheduled
Audit Frequency - How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY.
- target
Check 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.
- scheduled
Audit stringName - The name you want to give to the scheduled audit.
- Tag[]
- An array of key-value pairs to apply to this resource.
- frequency
Scheduled
Audit 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[Tag
Args] - 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.
- 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 "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.
- scheduled
Audit 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.
- Scheduled
Audit stringArn - The ARN (Amazon resource name) of the scheduled audit.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scheduled
Audit stringArn - The ARN (Amazon resource name) of the scheduled audit.
- id String
- The provider-assigned unique ID for this managed resource.
- scheduled
Audit StringArn - The ARN (Amazon resource name) of the scheduled audit.
- id string
- The provider-assigned unique ID for this managed resource.
- scheduled
Audit 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.
- scheduled
Audit 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
- Unset
Value - UNSET_VALUE
- Scheduled
Audit Day Of Week Sun - SUN
- Scheduled
Audit Day Of Week Mon - MON
- Scheduled
Audit Day Of Week Tue - TUE
- Scheduled
Audit Day Of Week Wed - WED
- Scheduled
Audit Day Of Week Thu - THU
- Scheduled
Audit Day Of Week Fri - FRI
- Scheduled
Audit Day Of Week Sat - SAT
- Scheduled
Audit Day Of Week Unset Value - 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
- 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
- Scheduled
Audit Frequency Daily - DAILY
- Scheduled
Audit Frequency Weekly - WEEKLY
- Scheduled
Audit Frequency Biweekly - BIWEEKLY
- Scheduled
Audit 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.