Class CfnPatchBaseline.RuleGroupProperty
The RuleGroup
property type specifies a set of rules that define the approval rules for an AWS Systems Manager patch baseline.
Inheritance
System.Object
CfnPatchBaseline.RuleGroupProperty
Implements
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuleGroupProperty : Object, CfnPatchBaseline.IRuleGroupProperty
Syntax (vb)
Public Class RuleGroupProperty
Inherits Object
Implements CfnPatchBaseline.IRuleGroupProperty
Remarks
RuleGroup
is the property type for the ApprovalRules
property of the AWS::SSM::PatchBaseline resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var ruleGroupProperty = new RuleGroupProperty {
PatchRules = new [] { new RuleProperty {
ApproveAfterDays = 123,
ApproveUntilDate = "approveUntilDate",
ComplianceLevel = "complianceLevel",
EnableNonSecurity = false,
PatchFilterGroup = new PatchFilterGroupProperty {
PatchFilters = new [] { new PatchFilterProperty {
Key = "key",
Values = new [] { "values" }
} }
}
} }
};
Synopsis
Constructors
RuleGroupProperty() |
Properties
PatchRules | The rules that make up the rule group. |
Constructors
RuleGroupProperty()
public RuleGroupProperty()
Properties
PatchRules
The rules that make up the rule group.
public object PatchRules { get; set; }
Property Value
System.Object