Class CfnScheduledAudit
Use the AWS::IoT::ScheduledAudit
resource to create a scheduled audit that is run at a specified time interval.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnScheduledAudit : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnScheduledAudit
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
For API reference, see CreateScheduleAudit and for general information, see Audit .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html
CloudformationResource: AWS::IoT::ScheduledAudit
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 cfnScheduledAudit = new CfnScheduledAudit(this, "MyCfnScheduledAudit", 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
CfnScheduledAudit(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnScheduledAudit(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnScheduledAudit(Construct, String, ICfnScheduledAuditProps) |
Properties
AttrScheduledAuditArn | The ARN of the scheduled audit. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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 | Tag Manager which manages the tags for this resource. |
TagsRaw | Metadata that can be used to manage the scheduled audit. |
TargetCheckNames | Which checks are performed during the scheduled audit. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnScheduledAudit(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnScheduledAudit(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnScheduledAudit(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnScheduledAudit(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnScheduledAudit(Construct, String, ICfnScheduledAuditProps)
public CfnScheduledAudit(Construct scope, string id, ICfnScheduledAuditProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnScheduledAuditProps
Resource properties.
Properties
AttrScheduledAuditArn
The ARN of the scheduled audit.
public virtual string AttrScheduledAuditArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ScheduledAuditArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DayOfMonth
The day of the month on which the scheduled audit is run (if the frequency
is "MONTHLY").
public virtual string DayOfMonth { get; set; }
Property Value
System.String
DayOfWeek
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
public virtual string DayOfWeek { get; set; }
Property Value
System.String
Frequency
How often the scheduled audit occurs.
public virtual string Frequency { get; set; }
Property Value
System.String
ScheduledAuditName
The name of the scheduled audit.
public virtual string ScheduledAuditName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Metadata that can be used to manage the scheduled audit.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TargetCheckNames
Which checks are performed during the scheduled audit.
public virtual string[] TargetCheckNames { get; set; }
Property Value
System.String[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>