interface CfnAutomationRuleV2MixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub.CfnAutomationRuleV2MixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssecurityhub#CfnAutomationRuleV2MixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRuleV2MixinProps |
Python | aws_cdk.cfn_property_mixins.aws_securityhub.CfnAutomationRuleV2MixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_securityhub » CfnAutomationRuleV2MixinProps |
Properties for CfnAutomationRuleV2PropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from '@aws-cdk/cfn-property-mixins';
const cfnAutomationRuleV2MixinProps: securityhub.CfnAutomationRuleV2MixinProps = {
actions: [{
externalIntegrationConfiguration: {
connectorArn: 'connectorArn',
},
findingFieldsUpdate: {
comment: 'comment',
severityId: 123,
statusId: 123,
},
type: 'type',
}],
criteria: {
ocsfFindingCriteria: {
compositeFilters: [{
booleanFilters: [{
fieldName: 'fieldName',
filter: {
value: false,
},
}],
dateFilters: [{
fieldName: 'fieldName',
filter: {
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
},
}],
mapFilters: [{
fieldName: 'fieldName',
filter: {
comparison: 'comparison',
key: 'key',
value: 'value',
},
}],
numberFilters: [{
fieldName: 'fieldName',
filter: {
eq: 123,
gte: 123,
lte: 123,
},
}],
operator: 'operator',
stringFilters: [{
fieldName: 'fieldName',
filter: {
comparison: 'comparison',
value: 'value',
},
}],
}],
compositeOperator: 'compositeOperator',
},
},
description: 'description',
ruleName: 'ruleName',
ruleOrder: 123,
ruleStatus: 'ruleStatus',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| actions? | IResolvable | (IResolvable | Automation)[] | A list of actions to be performed when the rule criteria is met. |
| criteria? | IResolvable | Criteria | The filtering type and configuration of the automation rule. |
| description? | string | A description of the V2 automation rule. |
| rule | string | The name of the V2 automation rule. |
| rule | number | The value for the rule priority. |
| rule | string | The status of the V2 automation rule. |
| tags? | { [string]: string } | A list of key-value pairs associated with the V2 automation rule. |
actions?
Type:
IResolvable | (IResolvable | Automation)[]
(optional)
A list of actions to be performed when the rule criteria is met.
criteria?
Type:
IResolvable | Criteria
(optional)
The filtering type and configuration of the automation rule.
description?
Type:
string
(optional)
A description of the V2 automation rule.
ruleName?
Type:
string
(optional)
The name of the V2 automation rule.
ruleOrder?
Type:
number
(optional)
The value for the rule priority.
ruleStatus?
Type:
string
(optional)
The status of the V2 automation rule.
tags?
Type:
{ [string]: string }
(optional)
A list of key-value pairs associated with the V2 automation rule.

.NET
Go
Java
Python
TypeScript