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
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The CIS scan configuration's scan configuration ARN. |
Cdk |
Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Scan |
The name of the CIS scan configuration. |
Schedule | The CIS scan configuration's schedule. |
Security |
The CIS scan configuration's CIS Benchmark level. |
Tags | The CIS scan configuration's tags. |
Targets | The CIS scan configuration's targets. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnCisScanConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnCisScanConfiguration(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnCisScanConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnCisScanConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnCisScanConfiguration(Construct, String, ICfnCisScanConfigurationProps)
public CfnCisScanConfiguration(Construct scope, string id, ICfnCisScanConfigurationProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Cis Scan Configuration Props Resource properties.
Properties
AttrArn
The CIS scan configuration's scan configuration ARN.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: Arn
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
ScanName
The name of the CIS scan configuration.
public virtual string ScanName { get; set; }
Property Value
System.
Schedule
The CIS scan configuration's schedule.
public virtual object Schedule { get; set; }
Property Value
System.
SecurityLevel
The CIS scan configuration's CIS Benchmark level.
public virtual string SecurityLevel { get; set; }
Property Value
System.
Tags
The CIS scan configuration's tags.
public virtual IDictionary<string, string> Tags { get; set; }
Property Value
System.
Targets
The CIS scan configuration's targets.
public virtual object Targets { get; set; }
Property Value
System.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.