Class CfnScheduledAuditProps
Properties for defining a CfnScheduledAudit
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnScheduledAuditProps : Object, ICfnScheduledAuditProps
Syntax (vb)
Public Class CfnScheduledAuditProps
Inherits Object
Implements ICfnScheduledAuditProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var cfnScheduledAuditProps = new CfnScheduledAuditProps {
Frequency = "frequency",
TargetCheckNames = new [] { "targetCheckNames" },
// the properties below are optional
DayOfMonth = "dayOfMonth",
DayOfWeek = "dayOfWeek",
ScheduledAuditName = "scheduledAuditName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnScheduledAuditProps() |
Properties
DayOfMonth | The day of the month on which the scheduled audit is run (if the |
DayOfWeek | The day of the week on which the scheduled audit is run (if the |
Frequency | How often the scheduled audit occurs. |
ScheduledAuditName | The name of the scheduled audit. |
Tags | Metadata that can be used to manage the scheduled audit. |
TargetCheckNames | Which checks are performed during the scheduled audit. |
Constructors
CfnScheduledAuditProps()
public CfnScheduledAuditProps()
Properties
DayOfMonth
The day of the month on which the scheduled audit is run (if the frequency
is "MONTHLY").
public string DayOfMonth { get; set; }
Property Value
System.String
Remarks
If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
DayOfWeek
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
public string DayOfWeek { get; set; }
Property Value
System.String
Remarks
Frequency
How often the scheduled audit occurs.
public string Frequency { get; set; }
Property Value
System.String
Remarks
ScheduledAuditName
The name of the scheduled audit.
public string ScheduledAuditName { get; set; }
Property Value
System.String
Remarks
Tags
Metadata that can be used to manage the scheduled audit.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
TargetCheckNames
Which checks are performed during the scheduled audit.
public string[] TargetCheckNames { get; set; }
Property Value
System.String[]
Remarks
Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
The following checks are currently aviable: