Show / Hide Table of Contents

Class CfnAutomationRuleV2PropsMixin.CriteriaProperty

The filtering type and configuration of the automation rule.

Inheritance
object
CfnAutomationRuleV2PropsMixin.CriteriaProperty
Implements
CfnAutomationRuleV2PropsMixin.ICriteriaProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAutomationRuleV2PropsMixin.CriteriaProperty : CfnAutomationRuleV2PropsMixin.ICriteriaProperty
Syntax (vb)
Public Class CfnAutomationRuleV2PropsMixin.CriteriaProperty Implements CfnAutomationRuleV2PropsMixin.ICriteriaProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html

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.Mixins.Preview.AWS.SecurityHub.Mixins;

             var criteriaProperty = new CriteriaProperty {
                 OcsfFindingCriteria = new OcsfFindingFiltersProperty {
                     CompositeFilters = new [] { new CompositeFilterProperty {
                         BooleanFilters = new [] { new OcsfBooleanFilterProperty {
                             FieldName = "fieldName",
                             Filter = new BooleanFilterProperty {
                                 Value = false
                             }
                         } },
                         DateFilters = new [] { new OcsfDateFilterProperty {
                             FieldName = "fieldName",
                             Filter = new DateFilterProperty {
                                 DateRange = new DateRangeProperty {
                                     Unit = "unit",
                                     Value = 123
                                 },
                                 End = "end",
                                 Start = "start"
                             }
                         } },
                         MapFilters = new [] { new OcsfMapFilterProperty {
                             FieldName = "fieldName",
                             Filter = new MapFilterProperty {
                                 Comparison = "comparison",
                                 Key = "key",
                                 Value = "value"
                             }
                         } },
                         NumberFilters = new [] { new OcsfNumberFilterProperty {
                             FieldName = "fieldName",
                             Filter = new NumberFilterProperty {
                                 Eq = 123,
                                 Gte = 123,
                                 Lte = 123
                             }
                         } },
                         Operator = "operator",
                         StringFilters = new [] { new OcsfStringFilterProperty {
                             FieldName = "fieldName",
                             Filter = new StringFilterProperty {
                                 Comparison = "comparison",
                                 Value = "value"
                             }
                         } }
                     } },
                     CompositeOperator = "compositeOperator"
                 }
             };

Synopsis

Constructors

CriteriaProperty()

The filtering type and configuration of the automation rule.

Properties

OcsfFindingCriteria

The filtering conditions that align with OCSF standards.

Constructors

CriteriaProperty()

The filtering type and configuration of the automation rule.

public CriteriaProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html

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.Mixins.Preview.AWS.SecurityHub.Mixins;

             var criteriaProperty = new CriteriaProperty {
                 OcsfFindingCriteria = new OcsfFindingFiltersProperty {
                     CompositeFilters = new [] { new CompositeFilterProperty {
                         BooleanFilters = new [] { new OcsfBooleanFilterProperty {
                             FieldName = "fieldName",
                             Filter = new BooleanFilterProperty {
                                 Value = false
                             }
                         } },
                         DateFilters = new [] { new OcsfDateFilterProperty {
                             FieldName = "fieldName",
                             Filter = new DateFilterProperty {
                                 DateRange = new DateRangeProperty {
                                     Unit = "unit",
                                     Value = 123
                                 },
                                 End = "end",
                                 Start = "start"
                             }
                         } },
                         MapFilters = new [] { new OcsfMapFilterProperty {
                             FieldName = "fieldName",
                             Filter = new MapFilterProperty {
                                 Comparison = "comparison",
                                 Key = "key",
                                 Value = "value"
                             }
                         } },
                         NumberFilters = new [] { new OcsfNumberFilterProperty {
                             FieldName = "fieldName",
                             Filter = new NumberFilterProperty {
                                 Eq = 123,
                                 Gte = 123,
                                 Lte = 123
                             }
                         } },
                         Operator = "operator",
                         StringFilters = new [] { new OcsfStringFilterProperty {
                             FieldName = "fieldName",
                             Filter = new StringFilterProperty {
                                 Comparison = "comparison",
                                 Value = "value"
                             }
                         } }
                     } },
                     CompositeOperator = "compositeOperator"
                 }
             };

Properties

OcsfFindingCriteria

The filtering conditions that align with OCSF standards.

public object? OcsfFindingCriteria { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html#cfn-securityhub-automationrulev2-criteria-ocsffindingcriteria

Type union: either IResolvable or CfnAutomationRuleV2PropsMixin.IOcsfFindingFiltersProperty

Implements

CfnAutomationRuleV2PropsMixin.ICriteriaProperty
Back to top Generated by DocFX