Class CfnCisScanConfigurationProps
Properties for defining a CfnCisScanConfiguration
.
Inheritance
System.Object
CfnCisScanConfigurationProps
Implements
Namespace: Amazon.CDK.AWS.InspectorV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCisScanConfigurationProps : Object, ICfnCisScanConfigurationProps
Syntax (vb)
Public Class CfnCisScanConfigurationProps
Inherits Object
Implements ICfnCisScanConfigurationProps
Remarks
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.InspectorV2;
var oneTime;
var cfnCisScanConfigurationProps = new CfnCisScanConfigurationProps {
ScanName = "scanName",
Schedule = new ScheduleProperty {
Daily = new DailyScheduleProperty {
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
},
Monthly = new MonthlyScheduleProperty {
Day = "day",
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
},
OneTime = oneTime,
Weekly = new WeeklyScheduleProperty {
Days = new [] { "days" },
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
}
},
SecurityLevel = "securityLevel",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
Targets = new CisTargetsProperty {
AccountIds = new [] { "accountIds" },
// the properties below are optional
TargetResourceTags = new Dictionary<string, string[]> {
{ "targetResourceTagsKey", new [] { "targetResourceTags" } }
}
}
};
Synopsis
Constructors
CfnCisScanConfigurationProps() |
Properties
ScanName | The name of the CIS scan configuration. |
Schedule | The CIS scan configuration's schedule. |
SecurityLevel | The CIS scan configuration's CIS Benchmark level. |
Tags | The CIS scan configuration's tags. |
Targets | The CIS scan configuration's targets. |
Constructors
CfnCisScanConfigurationProps()
public CfnCisScanConfigurationProps()
Properties
ScanName
The name of the CIS scan configuration.
public string ScanName { get; set; }
Property Value
System.String
Remarks
Schedule
The CIS scan configuration's schedule.
public object Schedule { get; set; }
Property Value
System.Object
Remarks
SecurityLevel
The CIS scan configuration's CIS Benchmark level.
public string SecurityLevel { get; set; }
Property Value
System.String
Remarks
Tags
The CIS scan configuration's tags.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Targets
The CIS scan configuration's targets.
public object Targets { get; set; }
Property Value
System.Object