Interface CfnPatchBaseline.RuleProperty

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

@Stability(Stable) public static interface CfnPatchBaseline.RuleProperty extends software.amazon.jsii.JsiiSerializable
The Rule property type specifies an approval rule for a Systems Manager patch baseline.

The PatchRules property of the RuleGroup property type contains a list of Rule property types.

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.*;
 RuleProperty ruleProperty = 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();
 

See Also: