Interface CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty.Jsii$Proxy
- Enclosing class:
CfnAutomationRule
@Stability(Stable)
public static interface CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty
extends software.amazon.jsii.JsiiSerializable
Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria.
Example:
// 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.*;
AutomationRulesFindingFieldsUpdateProperty automationRulesFindingFieldsUpdateProperty = AutomationRulesFindingFieldsUpdateProperty.builder()
.confidence(123)
.criticality(123)
.note(NoteUpdateProperty.builder()
.text("text")
.updatedBy("updatedBy")
.build())
.relatedFindings(List.of(RelatedFindingProperty.builder()
.id("id")
.productArn("productArn")
.build()))
.severity(SeverityUpdateProperty.builder()
.label("label")
.normalized(123)
.product(123)
.build())
.types(List.of("types"))
.userDefinedFields(Map.of(
"userDefinedFieldsKey", "userDefinedFields"))
.verificationState("verificationState")
.workflow(WorkflowUpdateProperty.builder()
.status("status")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe rule action updates theConfidencefield of a finding.default NumberThe rule action updates theCriticalityfield of a finding.default ObjectgetNote()The rule action will update theNotefield of a finding.default ObjectThe rule action will update theRelatedFindingsfield of a finding.default ObjectThe rule action will update theSeverityfield of a finding.getTypes()The rule action updates theTypesfield of a finding.default ObjectThe rule action updates theUserDefinedFieldsfield of a finding.default StringThe rule action updates theVerificationStatefield of a finding.default ObjectThe rule action will update theWorkflowfield of a finding.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfidence
The rule action updates theConfidencefield of a finding.- See Also:
-
getCriticality
The rule action updates theCriticalityfield of a finding.- See Also:
-
getNote
The rule action will update theNotefield of a finding.Returns union: either
IResolvableorCfnAutomationRule.NoteUpdateProperty- See Also:
-
getRelatedFindings
The rule action will update theRelatedFindingsfield of a finding.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAutomationRule.RelatedFindingProperty>- See Also:
-
getSeverity
The rule action will update theSeverityfield of a finding.Returns union: either
IResolvableorCfnAutomationRule.SeverityUpdateProperty- See Also:
-
getTypes
The rule action updates theTypesfield of a finding.- See Also:
-
getUserDefinedFields
The rule action updates theUserDefinedFieldsfield of a finding.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getVerificationState
The rule action updates theVerificationStatefield of a finding.- See Also:
-
getWorkflow
The rule action will update theWorkflowfield of a finding.Returns union: either
IResolvableorCfnAutomationRule.WorkflowUpdateProperty- See Also:
-
builder
@Stability(Stable) static CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty.Builder builder()
-