Show / Hide Table of Contents

Class CfnAutomationRuleV2PropsMixin

Creates a V2 automation rule.

Inheritance
object
Mixin
CfnAutomationRuleV2PropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAutomationRuleV2PropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAutomationRuleV2PropsMixin Inherits Mixin Implements IMixin
Remarks

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

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

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.SecurityHub;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAutomationRuleV2PropsMixin = new CfnAutomationRuleV2PropsMixin(new CfnAutomationRuleV2MixinProps {
                 Actions = new [] { new AutomationRulesActionV2Property {
                     ExternalIntegrationConfiguration = new ExternalIntegrationConfigurationProperty {
                         ConnectorArn = "connectorArn"
                     },
                     FindingFieldsUpdate = new AutomationRulesFindingFieldsUpdateV2Property {
                         Comment = "comment",
                         SeverityId = 123,
                         StatusId = 123
                     },
                     Type = "type"
                 } },
                 Criteria = 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"
                     }
                 },
                 Description = "description",
                 RuleName = "ruleName",
                 RuleOrder = 123,
                 RuleStatus = "ruleStatus",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnAutomationRuleV2PropsMixin(ICfnAutomationRuleV2MixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::SecurityHub::AutomationRuleV2.

Properties

CFN_PROPERTY_KEYS

Creates a V2 automation rule.

Props

Creates a V2 automation rule.

Strategy

Creates a V2 automation rule.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnAutomationRuleV2PropsMixin(ICfnAutomationRuleV2MixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::SecurityHub::AutomationRuleV2.

public CfnAutomationRuleV2PropsMixin(ICfnAutomationRuleV2MixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnAutomationRuleV2MixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

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

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Creates a V2 automation rule.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

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

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

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.SecurityHub;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAutomationRuleV2PropsMixin = new CfnAutomationRuleV2PropsMixin(new CfnAutomationRuleV2MixinProps {
                 Actions = new [] { new AutomationRulesActionV2Property {
                     ExternalIntegrationConfiguration = new ExternalIntegrationConfigurationProperty {
                         ConnectorArn = "connectorArn"
                     },
                     FindingFieldsUpdate = new AutomationRulesFindingFieldsUpdateV2Property {
                         Comment = "comment",
                         SeverityId = 123,
                         StatusId = 123
                     },
                     Type = "type"
                 } },
                 Criteria = 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"
                     }
                 },
                 Description = "description",
                 RuleName = "ruleName",
                 RuleOrder = 123,
                 RuleStatus = "ruleStatus",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

Creates a V2 automation rule.

protected virtual ICfnAutomationRuleV2MixinProps Props { get; }
Property Value

ICfnAutomationRuleV2MixinProps

Remarks

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

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

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.SecurityHub;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAutomationRuleV2PropsMixin = new CfnAutomationRuleV2PropsMixin(new CfnAutomationRuleV2MixinProps {
                 Actions = new [] { new AutomationRulesActionV2Property {
                     ExternalIntegrationConfiguration = new ExternalIntegrationConfigurationProperty {
                         ConnectorArn = "connectorArn"
                     },
                     FindingFieldsUpdate = new AutomationRulesFindingFieldsUpdateV2Property {
                         Comment = "comment",
                         SeverityId = 123,
                         StatusId = 123
                     },
                     Type = "type"
                 } },
                 Criteria = 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"
                     }
                 },
                 Description = "description",
                 RuleName = "ruleName",
                 RuleOrder = 123,
                 RuleStatus = "ruleStatus",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

Creates a V2 automation rule.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

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

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

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.SecurityHub;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnAutomationRuleV2PropsMixin = new CfnAutomationRuleV2PropsMixin(new CfnAutomationRuleV2MixinProps {
                 Actions = new [] { new AutomationRulesActionV2Property {
                     ExternalIntegrationConfiguration = new ExternalIntegrationConfigurationProperty {
                         ConnectorArn = "connectorArn"
                     },
                     FindingFieldsUpdate = new AutomationRulesFindingFieldsUpdateV2Property {
                         Comment = "comment",
                         SeverityId = 123,
                         StatusId = 123
                     },
                     Type = "type"
                 } },
                 Criteria = 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"
                     }
                 },
                 Description = "description",
                 RuleName = "ruleName",
                 RuleOrder = 123,
                 RuleStatus = "ruleStatus",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, 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-securityhub-automationrulev2.html

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

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-securityhub-automationrulev2.html

CloudformationResource: AWS::SecurityHub::AutomationRuleV2

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX