Interface CfnPatchBaseline.RuleGroupProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPatchBaseline.RuleGroupProperty.Jsii$Proxy
Enclosing class:
CfnPatchBaseline

@Stability(Stable) public static interface CfnPatchBaseline.RuleGroupProperty extends software.amazon.jsii.JsiiSerializable
The RuleGroup property type specifies a set of rules that define the approval rules for an AWS Systems Manager patch baseline.

RuleGroup is the property type for the ApprovalRules property of the AWS::SSM::PatchBaseline resource.

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.ssm.*;
 RuleGroupProperty ruleGroupProperty = RuleGroupProperty.builder()
         .patchRules(List.of(RuleProperty.builder()
                 .approveAfterDays(123)
                 .approveUntilDate("approveUntilDate")
                 .complianceLevel("complianceLevel")
                 .enableNonSecurity(false)
                 .patchFilterGroup(PatchFilterGroupProperty.builder()
                         .patchFilters(List.of(PatchFilterProperty.builder()
                                 .key("key")
                                 .values(List.of("values"))
                                 .build()))
                         .build())
                 .build()))
         .build();