AutomationRulesActionV2Property Struct
Allows you to configure automated responses.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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-lib';
const automationRulesActionV2Property: securityhub.CfnAutomationRuleV2.AutomationRulesActionV2Property = {
type: 'type',
// the properties below are optional
externalIntegrationConfiguration: {
connectorArn: 'connectorArn',
},
findingFieldsUpdate: {
comment: 'comment',
severityId: 123,
statusId: 123,
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityhub as securityhub
automation_rules_action_v2_property = securityhub.CfnAutomationRuleV2.AutomationRulesActionV2Property(
type="type",
# the properties below are optional
external_integration_configuration=securityhub.CfnAutomationRuleV2.ExternalIntegrationConfigurationProperty(
connector_arn="connectorArn"
),
finding_fields_update=securityhub.CfnAutomationRuleV2.AutomationRulesFindingFieldsUpdateV2Property(
comment="comment",
severity_id=123,
status_id=123
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityhub.*;
AutomationRulesActionV2Property automationRulesActionV2Property = AutomationRulesActionV2Property.builder()
.type("type")
// the properties below are optional
.externalIntegrationConfiguration(ExternalIntegrationConfigurationProperty.builder()
.connectorArn("connectorArn")
.build())
.findingFieldsUpdate(AutomationRulesFindingFieldsUpdateV2Property.builder()
.comment("comment")
.severityId(123)
.statusId(123)
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;
var automationRulesActionV2Property = new AutomationRulesActionV2Property {
Type = "type",
// the properties below are optional
ExternalIntegrationConfiguration = new ExternalIntegrationConfigurationProperty {
ConnectorArn = "connectorArn"
},
FindingFieldsUpdate = new AutomationRulesFindingFieldsUpdateV2Property {
Comment = "comment",
SeverityId = 123,
StatusId = 123
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
automationRulesActionV2Property := &AutomationRulesActionV2Property{
Type: jsii.String("type"),
// the properties below are optional
ExternalIntegrationConfiguration: &ExternalIntegrationConfigurationProperty{
ConnectorArn: jsii.String("connectorArn"),
},
FindingFieldsUpdate: &AutomationRulesFindingFieldsUpdateV2Property{
Comment: jsii.String("comment"),
SeverityId: jsii.Number(123),
StatusId: jsii.Number(123),
},
}
Properties
externalIntegrationConfigurationoptionalIResolvable | CfnAutomationRuleV2.external_integration_configurationoptionaltyping.Union[IResolvable, ExternalIntegrationConfigurationProperty]externalIntegrationConfigurationoptionalIResolvableExternalIntegrationConfigurationoptionalIResolvableExternalIntegrationConfigurationoptionalinterface{} #The settings for integrating automation rule actions with external systems or service.
findingFieldsUpdateoptionalIResolvable | CfnAutomationRuleV2.finding_fields_updateoptionaltyping.Union[IResolvable, AutomationRulesFindingFieldsUpdateV2Property]findingFieldsUpdateoptionalIResolvableFindingFieldsUpdateoptionalIResolvableFindingFieldsUpdateoptionalinterface{} #Specifies that the automation rule action is an update to a finding field.
Specifies the type of action that Security Hub CSPM takes when a finding matches the defined criteria of a rule.