Class CfnAutomationRuleV2PropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRuleV2PropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.345Z")
@Stability(Stable)
public class CfnAutomationRuleV2PropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a V2 automation rule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.securityhub.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnAutomationRuleV2PropsMixin cfnAutomationRuleV2PropsMixin = CfnAutomationRuleV2PropsMixin.Builder.create(CfnAutomationRuleV2MixinProps.builder()
.actions(List.of(AutomationRulesActionV2Property.builder()
.externalIntegrationConfiguration(ExternalIntegrationConfigurationProperty.builder()
.connectorArn("connectorArn")
.build())
.findingFieldsUpdate(AutomationRulesFindingFieldsUpdateV2Property.builder()
.comment("comment")
.severityId(123)
.statusId(123)
.build())
.type("type")
.build()))
.criteria(CriteriaProperty.builder()
.ocsfFindingCriteria(OcsfFindingFiltersProperty.builder()
.compositeFilters(List.of(CompositeFilterProperty.builder()
.booleanFilters(List.of(OcsfBooleanFilterProperty.builder()
.fieldName("fieldName")
.filter(BooleanFilterProperty.builder()
.value(false)
.build())
.build()))
.dateFilters(List.of(OcsfDateFilterProperty.builder()
.fieldName("fieldName")
.filter(DateFilterProperty.builder()
.dateRange(DateRangeProperty.builder()
.unit("unit")
.value(123)
.build())
.end("end")
.start("start")
.build())
.build()))
.mapFilters(List.of(OcsfMapFilterProperty.builder()
.fieldName("fieldName")
.filter(MapFilterProperty.builder()
.comparison("comparison")
.key("key")
.value("value")
.build())
.build()))
.numberFilters(List.of(OcsfNumberFilterProperty.builder()
.fieldName("fieldName")
.filter(NumberFilterProperty.builder()
.eq(123)
.gte(123)
.lte(123)
.build())
.build()))
.operator("operator")
.stringFilters(List.of(OcsfStringFilterProperty.builder()
.fieldName("fieldName")
.filter(StringFilterProperty.builder()
.comparison("comparison")
.value("value")
.build())
.build()))
.build()))
.compositeOperator("compositeOperator")
.build())
.build())
.description("description")
.ruleName("ruleName")
.ruleOrder(123)
.ruleStatus("ruleStatus")
.tags(Map.of(
"tagsKey", "tags"))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAllows you to configure automated responses.static interfaceAllows you to define the structure for modifying specific fields in security findings.static interfaceBoolean filter for querying findings.static final classA fluent builder forCfnAutomationRuleV2PropsMixin.static interfaceEnables the creation of filtering criteria for security findings.static interfaceThe filtering type and configuration of the automation rule.static interfaceA date filter for querying findings.static interfaceA date range for the date filter.static interfaceThe settings for integrating automation rule actions with external systems or service.static interfaceA map filter for filtering AWS Security Hub CSPM findings.static interfaceA number filter for querying findings.static interfaceEnables filtering of security findings based on boolean field values in OCSF.static interfaceEnables filtering of security findings based on date and timestamp fields in OCSF.static interfaceSpecifies the filtering criteria for security findings using OCSF.static interfaceEnables filtering of security findings based on map field values in OCSF.static interfaceEnables filtering of security findings based on numerical field values in OCSF.static interfaceEnables filtering of security findings based on string field values in OCSF.static interfaceA string filter for filtering AWS Security Hub CSPM findings.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SecurityHub::AutomationRuleV2.Create a mixin to apply properties toAWS::SecurityHub::AutomationRuleV2.protectedCfnAutomationRuleV2PropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAutomationRuleV2PropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnAutomationRuleV2MixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnAutomationRuleV2PropsMixin
protected CfnAutomationRuleV2PropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAutomationRuleV2PropsMixin
protected CfnAutomationRuleV2PropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAutomationRuleV2PropsMixin
@Stability(Stable) public CfnAutomationRuleV2PropsMixin(@NotNull CfnAutomationRuleV2MixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SecurityHub::AutomationRuleV2.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnAutomationRuleV2PropsMixin
@Stability(Stable) public CfnAutomationRuleV2PropsMixin(@NotNull CfnAutomationRuleV2MixinProps props) Create a mixin to apply properties toAWS::SecurityHub::AutomationRuleV2.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-