Class CfnScheduledAudit
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iot.CfnScheduledAudit
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-01T20:58:25.626Z")
@Stability(Stable)
public class CfnScheduledAudit
extends CfnResource
implements IInspectable, ITaggable
Use the
AWS::IoT::ScheduledAudit
resource to create a scheduled audit that is run at a specified time interval.
For API reference, see CreateScheduleAudit and for general information, see Audit .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iot.*; CfnScheduledAudit cfnScheduledAudit = CfnScheduledAudit.Builder.create(this, "MyCfnScheduledAudit") .frequency("frequency") .targetCheckNames(List.of("targetCheckNames")) // the properties below are optional .dayOfMonth("dayOfMonth") .dayOfWeek("dayOfWeek") .scheduledAuditName("scheduledAuditName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnScheduledAudit
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnScheduledAudit
(software.amazon.jsii.JsiiObjectRef objRef) CfnScheduledAudit
(software.constructs.Construct scope, String id, CfnScheduledAuditProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the scheduled audit.The day of the month on which the scheduled audit is run (if thefrequency
is "MONTHLY").The day of the week on which the scheduled audit is run (if thefrequency
is "WEEKLY" or "BIWEEKLY").How often the scheduled audit occurs.The name of the scheduled audit.getTags()
Tag Manager which manages the tags for this resource.Metadata that can be used to manage the scheduled audit.Which checks are performed during the scheduled audit.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDayOfMonth
(String value) The day of the month on which the scheduled audit is run (if thefrequency
is "MONTHLY").void
setDayOfWeek
(String value) The day of the week on which the scheduled audit is run (if thefrequency
is "WEEKLY" or "BIWEEKLY").void
setFrequency
(String value) How often the scheduled audit occurs.void
setScheduledAuditName
(String value) The name of the scheduled audit.void
setTagsRaw
(List<CfnTag> value) Metadata that can be used to manage the scheduled audit.void
setTargetCheckNames
(List<String> value) Which checks are performed during the scheduled audit.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnScheduledAudit
protected CfnScheduledAudit(software.amazon.jsii.JsiiObjectRef objRef) -
CfnScheduledAudit
protected CfnScheduledAudit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnScheduledAudit
@Stability(Stable) public CfnScheduledAudit(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnScheduledAuditProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrScheduledAuditArn
The ARN of the scheduled audit. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getFrequency
How often the scheduled audit occurs. -
setFrequency
How often the scheduled audit occurs. -
getTargetCheckNames
Which checks are performed during the scheduled audit. -
setTargetCheckNames
Which checks are performed during the scheduled audit. -
getDayOfMonth
The day of the month on which the scheduled audit is run (if thefrequency
is "MONTHLY"). -
setDayOfMonth
The day of the month on which the scheduled audit is run (if thefrequency
is "MONTHLY"). -
getDayOfWeek
The day of the week on which the scheduled audit is run (if thefrequency
is "WEEKLY" or "BIWEEKLY"). -
setDayOfWeek
The day of the week on which the scheduled audit is run (if thefrequency
is "WEEKLY" or "BIWEEKLY"). -
getScheduledAuditName
The name of the scheduled audit. -
setScheduledAuditName
The name of the scheduled audit. -
getTagsRaw
Metadata that can be used to manage the scheduled audit. -
setTagsRaw
Metadata that can be used to manage the scheduled audit.
-