Class CfnCisScanConfigurationPropsMixin
The CIS scan configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.InspectorV2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnCisScanConfigurationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnCisScanConfigurationPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
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.CfnPropertyMixins.AWS.InspectorV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var oneTime;
var cfnCisScanConfigurationPropsMixin = new CfnCisScanConfigurationPropsMixin(new CfnCisScanConfigurationMixinProps {
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" },
TargetResourceTags = new Dictionary<string, string[]> {
{ "targetResourceTagsKey", new [] { "targetResourceTags" } }
}
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnCisScanConfigurationPropsMixin(ICfnCisScanConfigurationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The CIS scan configuration. |
| Props | The CIS scan configuration. |
| Strategy | The CIS scan configuration. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnCisScanConfigurationPropsMixin(ICfnCisScanConfigurationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::InspectorV2::CisScanConfiguration.
public CfnCisScanConfigurationPropsMixin(ICfnCisScanConfigurationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnCisScanConfigurationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The CIS scan configuration.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
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.CfnPropertyMixins.AWS.InspectorV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var oneTime;
var cfnCisScanConfigurationPropsMixin = new CfnCisScanConfigurationPropsMixin(new CfnCisScanConfigurationMixinProps {
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" },
TargetResourceTags = new Dictionary<string, string[]> {
{ "targetResourceTagsKey", new [] { "targetResourceTags" } }
}
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The CIS scan configuration.
protected virtual ICfnCisScanConfigurationMixinProps Props { get; }
Property Value
ICfnCisScanConfigurationMixinProps
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
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.CfnPropertyMixins.AWS.InspectorV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var oneTime;
var cfnCisScanConfigurationPropsMixin = new CfnCisScanConfigurationPropsMixin(new CfnCisScanConfigurationMixinProps {
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" },
TargetResourceTags = new Dictionary<string, string[]> {
{ "targetResourceTagsKey", new [] { "targetResourceTags" } }
}
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The CIS scan configuration.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
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.CfnPropertyMixins.AWS.InspectorV2;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var oneTime;
var cfnCisScanConfigurationPropsMixin = new CfnCisScanConfigurationPropsMixin(new CfnCisScanConfigurationMixinProps {
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" },
TargetResourceTags = new Dictionary<string, string[]> {
{ "targetResourceTagsKey", new [] { "targetResourceTags" } }
}
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::InspectorV2::CisScanConfiguration
Mixin: true
ExampleMetadata: fixture=_generated