interface CfnAutomationRuleV2MixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins.CfnAutomationRuleV2MixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecurityhub/mixins#CfnAutomationRuleV2MixinProps |
Java | software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnAutomationRuleV2MixinProps |
Python | aws_cdk.mixins_preview.aws_securityhub.mixins.CfnAutomationRuleV2MixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_securityhub » mixins » 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 { mixins as securityhub_mixins } from '@aws-cdk/mixins-preview/aws-securityhub';
const cfnAutomationRuleV2MixinProps: securityhub_mixins.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