Show / Hide Table of Contents

Class CfnCisScanConfiguration

The CIS scan configuration.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnCisScanConfiguration
Implements
IInspectable
ICisScanConfigurationRef
IConstruct
IDependable
IEnvironmentAware
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.InspectorV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCisScanConfiguration : CfnResource, IInspectable, ICisScanConfigurationRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnCisScanConfiguration Inherits CfnResource Implements IInspectable, ICisScanConfigurationRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks

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

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)

Create a new AWS::InspectorV2::CisScanConfiguration.

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.

CisScanConfigurationRef

A reference to a CisScanConfiguration resource.

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

ArnForCisScanConfiguration(ICisScanConfigurationRef)

The CIS scan configuration.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnCisScanConfiguration(object)

Checks whether the given object is a CfnCisScanConfiguration.

RenderProperties(IDictionary<string, object>)

The CIS scan configuration.

Constructors

CfnCisScanConfiguration(Construct, string, ICfnCisScanConfigurationProps)

Create a new AWS::InspectorV2::CisScanConfiguration.

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

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

Properties

AttrArn

The CIS scan configuration's scan configuration ARN.

public virtual string AttrArn { get; }
Property Value

string

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

string

Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

CdkTagManager

Tag Manager which manages the tags for this resource.

public virtual TagManager CdkTagManager { get; }
Property Value

TagManager

Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

CfnProperties

The CIS scan configuration.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

CisScanConfigurationRef

A reference to a CisScanConfiguration resource.

public virtual ICisScanConfigurationReference CisScanConfigurationRef { get; }
Property Value

ICisScanConfigurationReference

Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

ScanName

The name of the CIS scan configuration.

public virtual string ScanName { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

Schedule

The CIS scan configuration's schedule.

public virtual object Schedule { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnCisScanConfiguration.IScheduleProperty

SecurityLevel

The CIS scan configuration's CIS Benchmark level.

public virtual string SecurityLevel { get; set; }
Property Value

string

Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

Tags

The CIS scan configuration's tags.

public virtual IDictionary<string, string>? Tags { get; set; }
Property Value

IDictionary<string, string>

Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

Targets

The CIS scan configuration's targets.

public virtual object Targets { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnCisScanConfiguration.ICisTargetsProperty

Methods

ArnForCisScanConfiguration(ICisScanConfigurationRef)

The CIS scan configuration.

public static string ArnForCisScanConfiguration(ICisScanConfigurationRef resource)
Parameters
resource ICisScanConfigurationRef
Returns

string

Remarks

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

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" }
                 }
             });

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

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

IsCfnCisScanConfiguration(object)

Checks whether the given object is a CfnCisScanConfiguration.

public static bool IsCfnCisScanConfiguration(object x)
Parameters
x object
Returns

bool

Remarks

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

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

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

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

CloudformationResource: AWS::InspectorV2::CisScanConfiguration

ExampleMetadata: fixture=_generated

Implements

IInspectable
ICisScanConfigurationRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggableV2
Back to top Generated by DocFX