@Stability(value=Stable)
public static interface CfnPatchBaseline.RuleGroupProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPatchBaseline.RuleGroupProperty.Builder
A builder for
CfnPatchBaseline.RuleGroupProperty |
static class |
CfnPatchBaseline.RuleGroupProperty.Jsii$Proxy
An implementation for
CfnPatchBaseline.RuleGroupProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPatchBaseline.RuleGroupProperty.Builder |
builder() |
default Object |
getPatchRules()
The rules that make up the rule group.
|
@Stability(value=Stable) @Nullable default Object getPatchRules()
@Stability(value=Stable) static CfnPatchBaseline.RuleGroupProperty.Builder builder()
Copyright © 2023. All rights reserved.