Class InspectorStartAssessmentRun
(experimental) Use an Amazon Inspector as a target for AWS EventBridge Scheduler.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Scheduler.Targets.Alpha
Assembly: Amazon.CDK.AWS.Scheduler.Targets.Alpha.dll
Syntax (csharp)
public class InspectorStartAssessmentRun : ScheduleTargetBase, IScheduleTarget
Syntax (vb)
Public Class InspectorStartAssessmentRun
Inherits ScheduleTargetBase
Implements IScheduleTarget
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Inspector;
CfnAssessmentTemplate assessmentTemplate;
new Schedule(this, "Schedule", new ScheduleProps {
Schedule = ScheduleExpression.Rate(Duration.Minutes(60)),
Target = new InspectorStartAssessmentRun(assessmentTemplate)
});
Synopsis
Constructors
InspectorStartAssessmentRun(CfnAssessmentTemplate, IScheduleTargetBaseProps) | |
InspectorStartAssessmentRun(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InspectorStartAssessmentRun(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
AddTargetActionToRole(ISchedule, IRole) |
Constructors
InspectorStartAssessmentRun(CfnAssessmentTemplate, IScheduleTargetBaseProps)
public InspectorStartAssessmentRun(CfnAssessmentTemplate template, IScheduleTargetBaseProps props = null)
Parameters
- template CfnAssessmentTemplate
- props IScheduleTargetBaseProps
Remarks
Stability: Experimental
InspectorStartAssessmentRun(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InspectorStartAssessmentRun(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InspectorStartAssessmentRun(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InspectorStartAssessmentRun(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
AddTargetActionToRole(ISchedule, IRole)
protected override void AddTargetActionToRole(ISchedule schedule, IRole role)
Parameters
Overrides
Remarks
Stability: Experimental