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,IEnvironmentAware,IScheduledAuditRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.188Z")
@Stability(Stable)
public class CfnScheduledAudit
extends CfnResource
implements IInspectable, IScheduledAuditRef, 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.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iot.IScheduledAuditRef
IScheduledAuditRef.Jsii$Default, IScheduledAuditRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnScheduledAudit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnScheduledAudit(software.amazon.jsii.JsiiObjectRef objRef) CfnScheduledAudit(software.constructs.Construct scope, String id, CfnScheduledAuditProps props) Create a newAWS::IoT::ScheduledAudit. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForScheduledAudit(IScheduledAuditRef resource) static IScheduledAuditReffromScheduledAuditArn(software.constructs.Construct scope, String id, String arn) Creates a new IScheduledAuditRef from an ARN.static IScheduledAuditReffromScheduledAuditName(software.constructs.Construct scope, String id, String scheduledAuditName) Creates a new IScheduledAuditRef from a scheduledAuditName.The ARN of the scheduled audit.The day of the month on which the scheduled audit is run (if thefrequencyis "MONTHLY").The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").How often the scheduled audit occurs.The name of the scheduled audit.A reference to a ScheduledAudit resource.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnScheduledAudit.renderProperties(Map<String, Object> props) voidsetDayOfMonth(String value) The day of the month on which the scheduled audit is run (if thefrequencyis "MONTHLY").voidsetDayOfWeek(String value) The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").voidsetFrequency(String value) How often the scheduled audit occurs.voidsetScheduledAuditName(String value) The name of the scheduled audit.voidsetTagsRaw(List<CfnTag> value) Metadata that can be used to manage the scheduled audit.voidsetTargetCheckNames(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, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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) Create a newAWS::IoT::ScheduledAudit.- 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
-
arnForScheduledAudit
@Stability(Stable) @NotNull public static String arnForScheduledAudit(@NotNull IScheduledAuditRef resource) - Parameters:
resource- This parameter is required.
-
fromScheduledAuditArn
@Stability(Stable) @NotNull public static IScheduledAuditRef fromScheduledAuditArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IScheduledAuditRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromScheduledAuditName
@Stability(Stable) @NotNull public static IScheduledAuditRef fromScheduledAuditName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String scheduledAuditName) Creates a new IScheduledAuditRef from a scheduledAuditName.- Parameters:
scope- This parameter is required.id- This parameter is required.scheduledAuditName- This parameter is required.
-
isCfnScheduledAudit
Checks whether the given object is a CfnScheduledAudit.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrScheduledAuditArn
The ARN of the scheduled audit. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getScheduledAuditRef
A reference to a ScheduledAudit resource.- Specified by:
getScheduledAuditRefin interfaceIScheduledAuditRef
-
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 thefrequencyis "MONTHLY"). -
setDayOfMonth
The day of the month on which the scheduled audit is run (if thefrequencyis "MONTHLY"). -
getDayOfWeek
The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY"). -
setDayOfWeek
The day of the week on which the scheduled audit is run (if thefrequencyis "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.
-