Class CfnCisScanConfiguration
The CIS scan configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.InspectorV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCisScanConfiguration : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnCisScanConfiguration Inherits CfnResource Implements IInspectable, ITaggableV2
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
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 cfnCisScanConfiguration = new CfnCisScanConfiguration(this, "MyCfnCisScanConfiguration", 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",
Targets = new CisTargetsProperty {
AccountIds = new [] { "accountIds" },
TargetResourceTags = new Dictionary<string, string[]> {
{ "targetResourceTagsKey", new [] { "targetResourceTags" } }
}
},
// the properties below are optional
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
CfnCisScanConfiguration(Construct, string, ICfnCisScanConfigurationProps) | The CIS scan configuration. |
Properties
AttrArn | The CIS scan configuration's scan configuration ARN. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CfnProperties | The CIS scan configuration. |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The CIS scan configuration. |
Constructors
CfnCisScanConfiguration(Construct, string, ICfnCisScanConfigurationProps)
The CIS scan configuration.
public CfnCisScanConfiguration(Construct scope, string id, ICfnCisScanConfigurationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnCisScanConfigurationProps
Resource properties.
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
Properties
AttrArn
The CIS scan configuration's scan configuration ARN.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
CfnProperties
The CIS scan configuration.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
ScanName
The name of the CIS scan configuration.
public virtual string ScanName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
Schedule
The CIS scan configuration's schedule.
public virtual object Schedule { get; set; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
SecurityLevel
The CIS scan configuration's CIS Benchmark level.
public virtual string SecurityLevel { get; set; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
Tags
The CIS scan configuration's tags.
public virtual IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
Targets
The CIS scan configuration's targets.
public virtual object Targets { get; set; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The CIS scan configuration.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
ExampleMetadata: fixture=_generated