Show / Hide Table of Contents

Class CfnCisScanConfigurationPropsMixin

The CIS scan configuration.

Inheritance
object
Mixin
CfnCisScanConfigurationPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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 AWS::InspectorV2::CisScanConfiguration.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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

IMergeStrategy

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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
Mixin.ApplyTo(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX